A B C D E F G H I K L M N O P R S T U V W Z

A

AbstractLoadBalancer - Class in com.netflix.loadbalancer
AbstractLoadBalancer contains features required for most loadbalancing implementations.
AbstractLoadBalancer() - Constructor for class com.netflix.loadbalancer.AbstractLoadBalancer
 
AbstractLoadBalancer.ServerGroup - Enum in com.netflix.loadbalancer
 
AbstractLoadBalancerAwareClient<S extends ClientRequest,T extends IResponse> - Class in com.netflix.client
Abstract class that provides the integration of client with load balancers.
AbstractLoadBalancerAwareClient() - Constructor for class com.netflix.client.AbstractLoadBalancerAwareClient
 
AbstractLoadBalancerAwareClient(IClientConfig) - Constructor for class com.netflix.client.AbstractLoadBalancerAwareClient
Delegate to AbstractLoadBalancerAwareClient.initWithNiwsConfig(IClientConfig)
AbstractLoadBalancerPing - Class in com.netflix.loadbalancer
Class that provides the basic implementation of detmerining the "liveness" or suitability of a Server (a node)
AbstractLoadBalancerPing() - Constructor for class com.netflix.loadbalancer.AbstractLoadBalancerPing
 
AbstractLoadBalancerRule - Class in com.netflix.loadbalancer
Class that provides a
AbstractLoadBalancerRule() - Constructor for class com.netflix.loadbalancer.AbstractLoadBalancerRule
 
AbstractServerList<T extends Server> - Class in com.netflix.loadbalancer
The class that defines how a list of servers are obtained, updated and filtered for use by NIWS
AbstractServerList() - Constructor for class com.netflix.loadbalancer.AbstractServerList
 
AbstractServerListFilter<T extends Server> - Class in com.netflix.loadbalancer
Class that is responsible to Filter out list of servers from the ones currently available in the Load Balancer
AbstractServerListFilter() - Constructor for class com.netflix.loadbalancer.AbstractServerListFilter
 
addServer(Server) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
Add a server to the 'allServer' list; does not verify uniqueness, so you could give a server a greater share by adding it more than once.
addServer(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
addServers(List<Server>) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
Add a list of servers to the 'allServer' list; does not verify uniqueness, so you could give a server a greater share by adding it more than once
addServers(List<Server>) - Method in interface com.netflix.loadbalancer.ILoadBalancer
Initial list of servers.
addServers(List<Server>) - Method in class com.netflix.loadbalancer.NoOpLoadBalancer
 
addToFailureCount() - Method in class com.netflix.loadbalancer.ServerStats
Increment the count of failures for this Server
allServerList - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
allServerLock - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
applyOverride(IClientConfig) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
AvailabilityFilteringRule - Class in com.netflix.loadbalancer
 
AvailabilityFilteringRule() - Constructor for class com.netflix.loadbalancer.AvailabilityFilteringRule
 

B

BaseLoadBalancer - Class in com.netflix.loadbalancer
A basic implementation of the load balancer where an arbitrary list of servers can be set as the server pool.
BaseLoadBalancer() - Constructor for class com.netflix.loadbalancer.BaseLoadBalancer
Default constructor which sets name as "default", sets null ping, and RoundRobinRule as the rule.
BaseLoadBalancer(String, IRule, LoadBalancerStats) - Constructor for class com.netflix.loadbalancer.BaseLoadBalancer
 
BaseLoadBalancer(IPing, IRule) - Constructor for class com.netflix.loadbalancer.BaseLoadBalancer
 
BaseLoadBalancer(String, IRule, LoadBalancerStats, IPing) - Constructor for class com.netflix.loadbalancer.BaseLoadBalancer
 
BaseLoadBalancer(IClientConfig) - Constructor for class com.netflix.loadbalancer.BaseLoadBalancer
 

C

cancel() - Method in class com.netflix.loadbalancer.InterruptTask
 
cancelPingTask() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.AbstractLoadBalancerRule
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.AvailabilityFilteringRule
 
choose(Object) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.ClientConfigEnabledRoundRobinRule
 
choose(BaseLoadBalancer, Object) - Method in interface com.netflix.loadbalancer.IRule
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.RandomRule
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.RetryRule
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.RoundRobinRule
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.WeightedResponseTimeRule
 
choose(BaseLoadBalancer, Object) - Method in class com.netflix.loadbalancer.ZoneAvoidanceRule
 
chooseServer() - Method in class com.netflix.loadbalancer.AbstractLoadBalancer
delegate to ILoadBalancer.chooseServer(Object) with parameter null.
chooseServer(Object) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
chooseServer(Object) - Method in interface com.netflix.loadbalancer.ILoadBalancer
Choose a server from load balancer.
chooseServer(Object) - Method in class com.netflix.loadbalancer.NoOpLoadBalancer
 
chooseServer(Object) - Method in class com.netflix.loadbalancer.ZoneAwareLoadBalancer
 
clearSuccessiveConnectionFailureCount(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
clearSuccessiveConnectionFailureCount() - Method in class com.netflix.loadbalancer.ServerStats
 
ClientConfigEnabledRoundRobinRule - Class in com.netflix.loadbalancer
This class essentially contains the RoundRobinRule class defined in the loadbalancer package
ClientConfigEnabledRoundRobinRule() - Constructor for class com.netflix.loadbalancer.ClientConfigEnabledRoundRobinRule
 
ClientException - Exception in com.netflix.client
 
ClientException(String) - Constructor for exception com.netflix.client.ClientException
 
ClientException(int) - Constructor for exception com.netflix.client.ClientException
 
ClientException(int, String) - Constructor for exception com.netflix.client.ClientException
 
ClientException(Throwable) - Constructor for exception com.netflix.client.ClientException
 
ClientException(String, Throwable) - Constructor for exception com.netflix.client.ClientException
 
ClientException(int, String, Throwable) - Constructor for exception com.netflix.client.ClientException
 
ClientException(ClientException.ErrorType) - Constructor for exception com.netflix.client.ClientException
 
ClientException(ClientException.ErrorType, String) - Constructor for exception com.netflix.client.ClientException
 
ClientException(ClientException.ErrorType, String, Throwable) - Constructor for exception com.netflix.client.ClientException
 
ClientException.ErrorType - Enum in com.netflix.client
define your error codes here
ClientFactory - Class in com.netflix.client
A factory that creates client, load balancer and client configuration instances from properties.
ClientFactory() - Constructor for class com.netflix.client.ClientFactory
 
ClientRequest - Class in com.netflix.client
An object that represents a common client request that is suitable for all communication protocol.
ClientRequest() - Constructor for class com.netflix.client.ClientRequest
 
ClientRequest(URI) - Constructor for class com.netflix.client.ClientRequest
 
ClientRequest(URI, Object, boolean, IClientConfig) - Constructor for class com.netflix.client.ClientRequest
Constructor to set all fields.
ClientRequest(ClientRequest) - Constructor for class com.netflix.client.ClientRequest
 
com.netflix.client - package com.netflix.client
 
com.netflix.client.config - package com.netflix.client.config
 
com.netflix.loadbalancer - package com.netflix.loadbalancer
 
CommonClientConfigKey - Enum in com.netflix.client.config
 
compare(Server, Server) - Method in class com.netflix.loadbalancer.ServerComparator
 
computeFinalUriWithLoadBalancer(S) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Compute the final URI from a partial URI in the request.
ConfigurationBasedServerList - Class in com.netflix.loadbalancer
Utility class that can load the List of Servers from a Configuration (i.e properties available via Archaius)
ConfigurationBasedServerList() - Constructor for class com.netflix.loadbalancer.ConfigurationBasedServerList
 
connect(Server, String) - Method in interface com.netflix.client.IPrimeConnection
Sub classes should implement protocol specific operation to connect to a server.
containsProperty(IClientConfigKey) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
containsProperty(IClientConfigKey) - Method in interface com.netflix.client.config.IClientConfig
 
createNamedClient(String, Class<? extends IClientConfig>) - Static method in class com.netflix.client.ClientFactory
Creates a named client using a IClientConfig instance created off the configClass class object passed in as the parameter.

D

decrementActiveRequestsCount(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
decrementActiveRequestsCount() - Method in class com.netflix.loadbalancer.ServerStats
 
DEFAULT_CLIENT_CLASSNAME - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_CONNECT_TIMEOUT - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_CONNECTION_IDLE_TIMERTASK_REPEAT_IN_MSECS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_CONNECTION_MANAGER_TIMEOUT - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_CONNECTION_POOL_CLEANER_TASK_ENABLED - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_CONNECTIONIDLE_TIME_IN_MSECS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_ENABLE_GZIP_CONTENT_ENCODING_FILTER - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_ENABLE_LOADBALANCER - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_ENABLE_NIWS_EVENT_LOGGING - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_ENABLE_PRIME_CONNECTIONS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_ENABLE_REQUEST_THROTTLING - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_ENABLE_ZONE_AFFINITY - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_ENABLE_ZONE_EXCLUSIVITY - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_FOLLOW_REDIRECTS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MAX_AUTO_RETRIES - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MAX_AUTO_RETRIES_NEXT_SERVER - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MAX_HTTP_CONNECTIONS_PER_HOST - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MAX_REQUESTS_ALLOWED_PER_WINDOW - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MAX_RETRIES_PER_SERVER_PRIME_CONNECTION - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MAX_TOTAL_HTTP_CONNECTIONS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MAX_TOTAL_TIME_TO_PRIME_CONNECTIONS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_MIN_PRIME_CONNECTIONS_RATIO - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_NFLOADBALANCER_CLASSNAME - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_NFLOADBALANCER_PING_CLASSNAME - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_NFLOADBALANCER_RULE_CLASSNAME - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_OK_TO_RETRY_ON_ALL_OPERATIONS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_PERCENTAGE_NIWS_EVENT_LOGGED - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_POOL_KEEP_ALIVE_TIME - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_POOL_KEEP_ALIVE_TIME_UNITS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_POOL_MAX_THREADS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
Defaults for the parameters for the thread pool used by batchParallel calls
DEFAULT_POOL_MIN_THREADS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_PORT - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_PRIME_CONNECTIONS_CLASS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_PRIME_CONNECTIONS_URI - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_PRIORITIZE_VIP_ADDRESS_BASED_SERVERS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_PROPERTY_NAME_SPACE - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_READ_TIMEOUT - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_REQUEST_THROTTLING_WINDOW_IN_MILLIS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_SEVER_LIST_CLASS - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DEFAULT_VIPADDRESS_RESOLVER_CLASSNAME - Static variable in class com.netflix.client.config.DefaultClientConfigImpl
 
DefaultClientConfigImpl - Class in com.netflix.client.config
Default client configuration that loads properties from Archaius's ConfigurationManager.
DefaultClientConfigImpl() - Constructor for class com.netflix.client.config.DefaultClientConfigImpl
Create instance with no properties in default name space DefaultClientConfigImpl.DEFAULT_PROPERTY_NAME_SPACE
DefaultClientConfigImpl(String) - Constructor for class com.netflix.client.config.DefaultClientConfigImpl
Create instance with no properties in the specified name space
deriveHostAndPortFromVipAddress(String) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Derive the host and port from virtual address if virtual address is indeed contains the actual host and port of the server.
deriveSchemeAndPortFromPartialUri(S) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Derive scheme and port from a partial URI.
DummyPing - Class in com.netflix.loadbalancer
Default simple implementation that marks the liveness of a Server
DummyPing() - Constructor for class com.netflix.loadbalancer.DummyPing
 
DynamicServerListLoadBalancer<T extends Server> - Class in com.netflix.loadbalancer
A LoadBalancer that has the capabilities to obtain the candidate list of servers using a dynamic source.
DynamicServerListLoadBalancer() - Constructor for class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
DynamicServerListLoadBalancer(IClientConfig) - Constructor for class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 

E

enableAndInitLearnNewServersFeature() - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
Feature that lets us add new instances (from AMIs) to the list of existing servers that the LB will use Call this method if you want this feature enabled
equals(Object) - Method in class com.netflix.loadbalancer.Server
 
errorCode - Variable in exception com.netflix.client.ClientException
 
errorObject - Variable in exception com.netflix.client.ClientException
 
errorType - Variable in exception com.netflix.client.ClientException
 
execute(S) - Method in interface com.netflix.client.IClient
Execute the request and return the response.
executeOnSingleServer(S) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Execute the request on single server after the final URI is calculated.
executeWithLoadBalancer(S) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
This method should be used when the caller wants to dispatch the request to a server chosen by the load balancer, instead of specifying the server in the request's URI.

F

forceQuickPing() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
forceQuickPing() - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 

G

getActiveRequestsCount(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getActiveRequestsCount() - Method in class com.netflix.loadbalancer.ServerStats
 
getActiveRequestsCount(long) - Method in class com.netflix.loadbalancer.ServerStats
 
getActiveRequestsCount() - Method in class com.netflix.loadbalancer.ZoneSnapshot
 
getActiveRequestsCount() - Method in class com.netflix.loadbalancer.ZoneStats
 
getActiveRequestsPerServer(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getActiveRequestsPerServer() - Method in class com.netflix.loadbalancer.ZoneStats
 
getAppName() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getAvailableZones() - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getAvailableZones(Map<String, ZoneSnapshot>, double, double) - Static method in class com.netflix.loadbalancer.ZoneAvoidanceRule
 
getAvailableZones(LoadBalancerStats, double, double) - Static method in class com.netflix.loadbalancer.ZoneAvoidanceRule
 
getCircuitBreakerTrippedCount(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getCircuitBreakerTrippedCount() - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getCircuitBreakerTrippedCount() - Method in class com.netflix.loadbalancer.ZoneStats
 
getCircuitBreakerTrippedPercentage() - Method in class com.netflix.loadbalancer.ZoneStats
 
getCircuitTrippedCount() - Method in class com.netflix.loadbalancer.ZoneSnapshot
 
getClientConfigWithDefaultValues(String) - Static method in class com.netflix.client.config.DefaultClientConfigImpl
 
getClientConfigWithDefaultValues(String, String) - Static method in class com.netflix.client.config.DefaultClientConfigImpl
 
getClientName() - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
 
getClientName() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getClientName() - Method in interface com.netflix.client.config.IClientConfig
 
getCongestionRatePercentage(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getConstant() - Method in class com.netflix.loadbalancer.PingConstant
 
getDefaultClientClassname() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultConnectionidleTimeInMsecs() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultConnectionIdleTimertaskRepeatInMsecs() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultConnectionManagerTimeout() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultConnectionPoolCleanerTaskEnabled() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultConnectTimeout() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultEnableGzipContentEncodingFilter() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultEnableLoadbalancer() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultEnablePrimeConnections() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultEnableRequestThrottling() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultEnableZoneAffinity() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultEnableZoneExclusivity() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultFollowRedirects() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMaxAutoRetries() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMaxAutoRetriesNextServer() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMaxHttpConnectionsPerHost() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMaxRequestsAllowedPerWindow() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMaxRetriesPerServerPrimeConnection() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMaxTotalHttpConnections() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMaxTotalTimeToPrimeConnections() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultMinPrimeConnectionsRatio() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultNfloadbalancerClassname() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultNfloadbalancerPingClassname() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultNfloadbalancerRuleClassname() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultOkToRetryOnAllOperations() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPercentageNiwsEventLogged() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPoolKeepAliveTime() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPoolKeepAliveTimeUnits() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPoolMaxThreads() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPoolMinThreads() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPort() - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Get the default port which is protocol specific if port is missing in the request URI.
getDefaultPort() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPrimeConnectionsClass() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPrimeConnectionsUri() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPrioritizeVipAddressBasedServers() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultPropName(IClientConfigKey) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultReadTimeout() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultRequestThrottlingWindowInMillis() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultSeverListClass() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getDefaultVipaddressResolverClassname() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getErrorCode() - Method in exception com.netflix.client.ClientException
 
getErrorCodes(Class) - Static method in exception com.netflix.client.ClientException
Return the codes that are defined on a subclass of our class.
getErrorMessage() - Method in exception com.netflix.client.ClientException
 
getErrorObject() - Method in exception com.netflix.client.ClientException
 
getErrorType() - Method in exception com.netflix.client.ClientException
 
getFailureCount() - Method in class com.netflix.loadbalancer.ServerStats
Returns the count of failures in the current window
getFailureCountSlidingWindowInterval() - Method in class com.netflix.loadbalancer.ServerStats
 
getFilter() - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
getFilteredListOfServers(List<T>) - Method in interface com.netflix.loadbalancer.ServerListFilter
 
getFilterImpl(IClientConfig) - Method in class com.netflix.loadbalancer.AbstractServerList
This will be called ONLY ONCE to obtain the Filter class instance Concrete imple
getHeaders() - Method in interface com.netflix.client.IResponse
 
getHost() - Method in class com.netflix.loadbalancer.Server
 
getHostPort() - Method in class com.netflix.loadbalancer.Server
 
getId() - Method in class com.netflix.loadbalancer.Server
 
getInitialListOfServers() - Method in class com.netflix.loadbalancer.ConfigurationBasedServerList
 
getInitialListOfServers() - Method in interface com.netflix.loadbalancer.ServerList
 
getInstanceCount(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getInstanceCount() - Method in class com.netflix.loadbalancer.ZoneSnapshot
 
getInstanceCount() - Method in class com.netflix.loadbalancer.ZoneStats
 
getInstancePropName(String, IClientConfigKey) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getInstancePropName(String, String) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getInternalMessage() - Method in exception com.netflix.client.ClientException
Return the message associated with such an exception.
getLoadBalancer() - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
 
getLoadBalancer() - Method in class com.netflix.loadbalancer.AbstractLoadBalancerPing
 
getLoadBalancer() - Method in class com.netflix.loadbalancer.AbstractLoadBalancerRule
 
getLoadBalancer() - Method in class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
getLoadBalancerKey() - Method in class com.netflix.client.ClientRequest
 
getLoadBalancerStats() - Method in class com.netflix.loadbalancer.AbstractLoadBalancer
Obtain LoadBalancer related Statistics
getLoadBalancerStats() - Method in class com.netflix.loadbalancer.AbstractServerListFilter
 
getLoadBalancerStats() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getLoadBalancerStats() - Method in class com.netflix.loadbalancer.NoOpLoadBalancer
 
getLoadPerServer() - Method in class com.netflix.loadbalancer.ZoneSnapshot
 
getMaxRetryMillis() - Method in class com.netflix.loadbalancer.RetryRule
 
getMaxTotalPingTime() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getMeasuredRequestsCount() - Method in class com.netflix.loadbalancer.ServerStats
 
getMeasuredZoneHits(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getMeasuredZoneHits() - Method in class com.netflix.loadbalancer.ZoneStats
 
getMonitoredActiveRequestsCount() - Method in class com.netflix.loadbalancer.ServerStats
 
getName() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getName() - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getNamedClient(String) - Static method in class com.netflix.client.ClientFactory
Return the named client from map if already created.
getNamedConfig(String) - Static method in class com.netflix.client.ClientFactory
Get the client configuration given the name or create one with DefaultClientConfigImpl if it does not exist.
getNamedConfig(String, Class<? extends IClientConfig>) - Static method in class com.netflix.client.ClientFactory
Get the client configuration given the name or create one with clientConfigClass if it does not exist.
getNamedLoadBalancer(String) - Static method in class com.netflix.client.ClientFactory
Get the load balancer associated with the name, or create one with an instance DefaultClientConfigImpl if does not exist
getNamedLoadBalancer(String, Class<? extends IClientConfig>) - Static method in class com.netflix.client.ClientFactory
Get the load balancer associated with the name, or create one with an instance of configClass if does not exist
getNameSpace() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getNameSpace() - Method in interface com.netflix.client.config.IClientConfig
 
getOverrideConfig() - Method in class com.netflix.client.ClientRequest
 
getPayload() - Method in interface com.netflix.client.IResponse
Returns the raw entity if available from the response
getPing() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getPingInterval() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getPort() - Method in class com.netflix.loadbalancer.Server
 
getPrimeConnections() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getProperties() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getProperties() - Method in interface com.netflix.client.config.IClientConfig
 
getProperty(IClientConfigKey) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getProperty(IClientConfigKey, Object) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getProperty(Map<String, Object>, IClientConfigKey, Object) - Static method in class com.netflix.client.config.DefaultClientConfigImpl
 
getProperty(Map<String, Object>, IClientConfigKey) - Static method in class com.netflix.client.config.DefaultClientConfigImpl
 
getProperty(IClientConfigKey) - Method in interface com.netflix.client.config.IClientConfig
 
getProperty(IClientConfigKey, Object) - Method in interface com.netflix.client.config.IClientConfig
 
getRequestedURI() - Method in interface com.netflix.client.IResponse
Return the Request URI that generated this response
getResolver() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getResponseTime10thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 10-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime25thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 25-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime50thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 50-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime75thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 75-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime90thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 90-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime95thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 95-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime98thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 98-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime99point5thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 99.5-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTime99thPercentile() - Method in class com.netflix.loadbalancer.ServerStats
Gets the 99-th percentile in the total amount of time spent handling a request, in milliseconds.
getResponseTimeAvg() - Method in class com.netflix.loadbalancer.ServerStats
Gets the average total amount of time to handle a request, in milliseconds.
getResponseTimeAvgRecent() - Method in class com.netflix.loadbalancer.ServerStats
Gets the average total amount of time to handle a request in the recent time-slice, in milliseconds.
getResponseTimeMax() - Method in class com.netflix.loadbalancer.ServerStats
Gets the maximum amount of time spent handling a request, in milliseconds.
getResponseTimeMin() - Method in class com.netflix.loadbalancer.ServerStats
Gets the minimum amount of time spent handling a request, in milliseconds.
getResponseTimePercentileNumValues() - Method in class com.netflix.loadbalancer.ServerStats
Gets the number of samples used to compute the various response-time percentiles.
getResponseTimePercentileTime() - Method in class com.netflix.loadbalancer.ServerStats
Gets the time when the varios percentile data was last updated.
getResponseTimePercentileTimeMillis() - Method in class com.netflix.loadbalancer.ServerStats
Gets the time when the varios percentile data was last updated, in milliseconds since the epoch.
getResponseTimeStdDev() - Method in class com.netflix.loadbalancer.ServerStats
Gets the standard deviation in the total amount of time spent handling a request, in milliseconds.
getRule() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getRule() - Method in class com.netflix.loadbalancer.RetryRule
 
getServerByIndex(int, boolean) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
return the server
getServerCount(boolean) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
get the count of servers.
getServerList(AbstractLoadBalancer.ServerGroup) - Method in class com.netflix.loadbalancer.AbstractLoadBalancer
List of servers that this Loadbalancer knows about
getServerList(boolean) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getServerList(AbstractLoadBalancer.ServerGroup) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
getServerList(AbstractLoadBalancer.ServerGroup) - Method in class com.netflix.loadbalancer.NoOpLoadBalancer
 
getServerListImpl() - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
getServerStats() - Method in class com.netflix.loadbalancer.LoadBalancerStats
returns map of Stats for all servers
getSingleServerStat(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getSuccessiveConnectionFailureCount() - Method in class com.netflix.loadbalancer.ServerStats
 
getTotalRequestsCount() - Method in class com.netflix.loadbalancer.ServerStats
 
getUpdatedListOfServers() - Method in class com.netflix.loadbalancer.ConfigurationBasedServerList
 
getUpdatedListOfServers() - Method in interface com.netflix.loadbalancer.ServerList
Return updated list of servers.
getUri() - Method in class com.netflix.client.ClientRequest
 
getVersion() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
getZone() - Method in class com.netflix.loadbalancer.Server
 
getZone() - Method in class com.netflix.loadbalancer.ZoneStats
 
getZoneSnapshot(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
getZoneSnapshot(List<? extends Server>) - Method in class com.netflix.loadbalancer.LoadBalancerStats
This is the core function to get zone stats.
getZoneStats() - Method in class com.netflix.loadbalancer.LoadBalancerStats
 

H

hashCode() - Method in class com.netflix.loadbalancer.Server
 
hasPayload() - Method in interface com.netflix.client.IResponse
A "peek" kinda API.

I

IClient<S extends ClientRequest,T extends IResponse> - Interface in com.netflix.client
A client that can execute a single request.
IClientConfig - Interface in com.netflix.client.config
Defines the client configuration used by various APIs to initialize clients or load balancers.
IClientConfigAware - Interface in com.netflix.client
There are multiple classes (and components) that need access to the configuration.
IClientConfigKey - Interface in com.netflix.client.config
Defines the key used in IClientConfig
ILoadBalancer - Interface in com.netflix.loadbalancer
Interface that defines the operations for a software loadbalancer.
incrementActiveRequestsCount(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
incrementActiveRequestsCount() - Method in class com.netflix.loadbalancer.ServerStats
 
incrementNumRequests(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
incrementNumRequests() - Method in class com.netflix.loadbalancer.ServerStats
 
incrementSuccessiveConnectionFailureCount(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
incrementSuccessiveConnectionFailureCount() - Method in class com.netflix.loadbalancer.ServerStats
 
incrementZoneCounter(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
init() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
Register with monitors and start priming connections if it is set.
init() - Method in class com.netflix.loadbalancer.ZoneAwareLoadBalancer
 
initialize(ILoadBalancer) - Method in class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
initialize(Server) - Method in class com.netflix.loadbalancer.ServerStats
Initializes the object, starting data collection and reporting.
initWithNiwsConfig(IClientConfig) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Set necessary parameters from client configuration and register with Servo monitors.
initWithNiwsConfig(IClientConfig) - Method in interface com.netflix.client.IClientConfigAware
Concrete implementation should implement this method so that the configuration set via IClientConfig (which in turn were set via Archaius properties) will be taken into consideration
initWithNiwsConfig(IClientConfig) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
initWithNiwsConfig(IClientConfig) - Method in class com.netflix.loadbalancer.ClientConfigEnabledRoundRobinRule
 
initWithNiwsConfig(IClientConfig) - Method in class com.netflix.loadbalancer.ConfigurationBasedServerList
 
initWithNiwsConfig(IClientConfig) - Method in class com.netflix.loadbalancer.DummyPing
 
initWithNiwsConfig(IClientConfig) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
initWithNiwsConfig(IClientConfig) - Method in class com.netflix.loadbalancer.WeightedResponseTimeRule
 
instantiateInstanceWithClientConfig(String, IClientConfig) - Static method in class com.netflix.client.ClientFactory
Creates instance related to client framework using reflection.
InterruptTask - Class in com.netflix.loadbalancer
 
InterruptTask(long) - Constructor for class com.netflix.loadbalancer.InterruptTask
 
InterruptTask(Thread, long) - Constructor for class com.netflix.loadbalancer.InterruptTask
 
IPing - Interface in com.netflix.loadbalancer
Interface that defines how we "ping" a server to check if its alive
IPrimeConnection - Interface in com.netflix.client
Interface that defines operation for priming a connection.
IResponse - Interface in com.netflix.client
Response interface for the client framework.
IRule - Interface in com.netflix.loadbalancer
Interface that defines a "Rule" for a LoadBalancer.
isAlive(Server) - Method in class com.netflix.loadbalancer.AbstractLoadBalancerPing
 
isAlive(Server) - Method in class com.netflix.loadbalancer.DummyPing
 
isAlive(Server) - Method in interface com.netflix.loadbalancer.IPing
Checks whether the given Server is "alive" i.e.
isAlive(Server) - Method in class com.netflix.loadbalancer.NoOpPing
 
isAlive(Server) - Method in class com.netflix.loadbalancer.PingConstant
 
isAlive() - Method in class com.netflix.loadbalancer.Server
 
isCircuitBreakerException(Exception) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Determine if an exception should contribute to circuit breaker trip.
isCircuitBreakerTripped(Server) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
isCircuitBreakerTripped() - Method in class com.netflix.loadbalancer.ServerStats
 
isCircuitBreakerTripped(long) - Method in class com.netflix.loadbalancer.ServerStats
 
isEnableDynamicProperties() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
isEnablePrimingConnections() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
isPingInProgress() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
isReadyToServe() - Method in class com.netflix.loadbalancer.Server
 
isRetriable - Variable in class com.netflix.client.ClientRequest
 
isRetriable() - Method in class com.netflix.client.ClientRequest
 
isRetriableException(Exception) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Determine if operation can be retried if an exception is thrown.
isSecure() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
isSuccess() - Method in interface com.netflix.client.IResponse
 

K

key() - Method in enum com.netflix.client.config.CommonClientConfigKey
 
key() - Method in interface com.netflix.client.config.IClientConfigKey
The string representation of the key.

L

lbStats - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
lbTimer - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
loadBalancerKey - Variable in class com.netflix.client.ClientRequest
 
LoadBalancerStats - Class in com.netflix.loadbalancer
Class that acts as a repository of operational charateristics and statistics of every Node/Server in the LaodBalancer.
LoadBalancerStats(String) - Constructor for class com.netflix.loadbalancer.LoadBalancerStats
 
loadDefaultValues() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
loadProperties(String) - Method in class com.netflix.client.config.DefaultClientConfigImpl
Load properties for a given client.
loadProperties(String) - Method in interface com.netflix.client.config.IClientConfig
Load the properties for a given client and/or load balancer.
lockAllServerList(boolean) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
lockUpServerList(boolean) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 

M

main(String[]) - Static method in class com.netflix.loadbalancer.ServerStats
 
markServerDown(Server) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
markServerDown(String) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
markServerDown(Server) - Method in interface com.netflix.loadbalancer.ILoadBalancer
To be called by the clients of the load balancer to notify that a Server is down else, the LB will think its still Alive until the next Ping cycle - potentially (assuming that the LB Impl does a ping)
markServerDown(Server) - Method in class com.netflix.loadbalancer.NoOpLoadBalancer
 
maxTotalPingTimeSeconds - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
message - Variable in exception com.netflix.client.ClientException
 

N

name - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
NoOpLoadBalancer - Class in com.netflix.loadbalancer
A noOp Loadbalancer i.e.
NoOpLoadBalancer() - Constructor for class com.netflix.loadbalancer.NoOpLoadBalancer
 
NoOpPing - Class in com.netflix.loadbalancer
No Op Ping
NoOpPing() - Constructor for class com.netflix.loadbalancer.NoOpPing
 
normalizeId(String) - Static method in class com.netflix.loadbalancer.Server
 
noteOpenConnection(ServerStats, S) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
Called just before IClient.execute(ClientRequest) call.
noteRequestCompletion(ServerStats, S, IResponse, Exception, long) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
This is called after a response is received or an exception is thrown from the IClient.execute(ClientRequest) to update related stats.
noteResponseReceived(ServerStats, T, IResponse) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
This method is called after a response (either success or not) is received to update certain stats.
noteResponseTime(Server, double) - Method in class com.netflix.loadbalancer.LoadBalancerStats
Method that updates the internal stats of Response times maintained on a per Server basis
noteResponseTime(double) - Method in class com.netflix.loadbalancer.ServerStats
Call this method to note the response time after every request

O

overrideConfig - Variable in class com.netflix.client.ClientRequest
 

P

ping - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
PingConstant - Class in com.netflix.loadbalancer
A utility Ping Implementation that returns whatever its been set to return (alive or dead)
PingConstant() - Constructor for class com.netflix.loadbalancer.PingConstant
 
pingInProgress - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
pingIntervalSeconds - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
primeCompleted(Server, Throwable) - Method in interface com.netflix.client.PrimeConnections.PrimeConnectionListener
 
primeCompleted(Server, Throwable) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
PrimeConnections - Class in com.netflix.client
Prime the connections for a given Client (For those Client that have a LoadBalancer that knows the set of Servers it will connect to) This is mainly done to address those deployment environments (Read EC2) which benefit from a firewall connection/path warmup prior to actual use for live requests.
PrimeConnections(String, IClientConfig) - Constructor for class com.netflix.client.PrimeConnections
 
PrimeConnections(String, int, long, String) - Constructor for class com.netflix.client.PrimeConnections
 
PrimeConnections(String, int, long, String, float) - Constructor for class com.netflix.client.PrimeConnections
 
primeConnections(List<Server>) - Method in class com.netflix.client.PrimeConnections
Prime connections, blocking until configured percentage (default is 100%) of target servers are primed or max time is reached.
PrimeConnections.PrimeConnectionListener - Interface in com.netflix.client
 
primeConnectionsAsync(List<Server>, PrimeConnections.PrimeConnectionListener) - Method in class com.netflix.client.PrimeConnections
Prime servers asynchronously.
PROP_NAME - Static variable in class com.netflix.loadbalancer.ConfigurationBasedServerList
 

R

RandomRule - Class in com.netflix.loadbalancer
A loadbalacing strategy that randomly distributes traffic amongst existing servers.
RandomRule() - Constructor for class com.netflix.loadbalancer.RandomRule
 
registerClientFromProperties(String, IClientConfig) - Static method in class com.netflix.client.ClientFactory
Utility method to create client and load balancer (if enabled in client config) given the name and client config.
registerNamedLoadBalancerFromclientConfig(String, IClientConfig) - Static method in class com.netflix.client.ClientFactory
Create and register a load balancer with the name and given the class of configClass.
registerNamedLoadBalancerFromProperties(String, Class<? extends IClientConfig>) - Static method in class com.netflix.client.ClientFactory
Create and register a load balancer with the name and given the class of configClass.
replaceUri(URI) - Method in class com.netflix.client.ClientRequest
Create a client request using a new URI.
resolve(String, IClientConfig) - Method in class com.netflix.client.SimpleVipAddressResolver
 
resolve(String, IClientConfig) - Method in interface com.netflix.client.VipAddressResolver
 
resolveDeploymentContextbasedVipAddresses() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
resolveDeploymentContextbasedVipAddresses() - Method in interface com.netflix.client.config.IClientConfig
Returns the applicable virtual addresses ("vip") used by this client configuration.
ResponseTimeWeightedRule - Class in com.netflix.loadbalancer
Rule that use the average/percentile response times to assign dynamic "weights" per Server which is then used in the "Weighted Round Robin" fashion The basic idea for weighted round robin has been obtained from JCS The implementation for choosing the endpoint from the list of endpoints is as follows:Let's assume 4 endpoints:A(wt=10), B(wt=30), C(wt=40), D(wt=20).
ResponseTimeWeightedRule() - Constructor for class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
RetryRule - Class in com.netflix.loadbalancer
Given that IRule can be cascaded, this RetryRule class allows adding a retry logic to an existing Rule.
RetryRule() - Constructor for class com.netflix.loadbalancer.RetryRule
 
RetryRule(IRule) - Constructor for class com.netflix.loadbalancer.RetryRule
 
RetryRule(IRule, long) - Constructor for class com.netflix.loadbalancer.RetryRule
 
RoundRobinRule - Class in com.netflix.loadbalancer
The most well known and basic loadbalacing strategy, i.e.
RoundRobinRule() - Constructor for class com.netflix.loadbalancer.RoundRobinRule
 
rule - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
run() - Method in class com.netflix.loadbalancer.InterruptTask
 

S

Server - Class in com.netflix.loadbalancer
Class that represents a typical Server (or an addressable Node) i.e.
Server(String, int) - Constructor for class com.netflix.loadbalancer.Server
 
Server(String) - Constructor for class com.netflix.loadbalancer.Server
 
serverComparator - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
ServerComparator - Class in com.netflix.loadbalancer
Class to help establishing equality for Hash/Key operations.
ServerComparator() - Constructor for class com.netflix.loadbalancer.ServerComparator
 
ServerList<T extends Server> - Interface in com.netflix.loadbalancer
Interface that defines the methods sed to obtain the List of Servers
ServerListFilter<T extends Server> - Interface in com.netflix.loadbalancer
This interface allows for filtering the configured or dynamically obtained List of candidate servers with desirable characteristics.
serverListUpdateInProgress - Variable in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
ServerStats - Class in com.netflix.loadbalancer
Capture various stats per Server(node) in the LoadBalancer
ServerStats() - Constructor for class com.netflix.loadbalancer.ServerStats
 
ServerStats(LoadBalancerStats) - Constructor for class com.netflix.loadbalancer.ServerStats
 
serverWeightAssignmentInProgress - Variable in class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
serverWeightTimer - Variable in class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
setAlive(boolean) - Method in class com.netflix.loadbalancer.Server
 
setBufferSize(int) - Method in class com.netflix.loadbalancer.ServerStats
 
setClientName(String) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
setConstant(String) - Method in class com.netflix.loadbalancer.PingConstant
 
setConstant(boolean) - Method in class com.netflix.loadbalancer.PingConstant
 
setEnablePrimingConnections(boolean) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
setErrorCode(int) - Method in exception com.netflix.client.ClientException
 
setErrorMessage(String) - Method in exception com.netflix.client.ClientException
 
setErrorObject(Object) - Method in exception com.netflix.client.ClientException
 
setFailureCountSlidingWindowInterval(long) - Method in class com.netflix.loadbalancer.ServerStats
 
setFilter(ServerListFilter<T>) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
setHost(String) - Method in class com.netflix.loadbalancer.Server
 
setHostPort(String) - Method in class com.netflix.loadbalancer.Server
 
setId(String) - Method in class com.netflix.loadbalancer.Server
 
setLoadBalancer(ILoadBalancer) - Method in class com.netflix.client.AbstractLoadBalancerAwareClient
 
setLoadBalancer(AbstractLoadBalancer) - Method in class com.netflix.loadbalancer.AbstractLoadBalancerPing
 
setLoadBalancer(AbstractLoadBalancer) - Method in class com.netflix.loadbalancer.AbstractLoadBalancerRule
 
setLoadBalancer(ILoadBalancer) - Method in class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
setLoadBalancer(AbstractLoadBalancer) - Method in class com.netflix.loadbalancer.WeightedResponseTimeRule
 
setLoadBalancerKey(Object) - Method in class com.netflix.client.ClientRequest
 
setLoadBalancerStats(LoadBalancerStats) - Method in class com.netflix.loadbalancer.AbstractServerListFilter
 
setLoadBalancerStats(LoadBalancerStats) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
setMaxRetryMillis(long) - Method in class com.netflix.loadbalancer.RetryRule
 
setMaxTotalPingTime(int) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
setName(String) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
setOverrideConfig(IClientConfig) - Method in class com.netflix.client.ClientRequest
 
setPing(IPing) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
setPing(IPing) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
setPingInterval(int) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
setPort(int) - Method in class com.netflix.loadbalancer.Server
 
setPrimeConnections(PrimeConnections) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
setProperty(IClientConfigKey, Object) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
setProperty(Properties, String, String, String) - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
setProperty(IClientConfigKey, Object) - Method in interface com.netflix.client.config.IClientConfig
 
setPublishInterval(int) - Method in class com.netflix.loadbalancer.ServerStats
 
setReadyToServe(boolean) - Method in class com.netflix.loadbalancer.Server
 
setRetriable(boolean) - Method in class com.netflix.client.ClientRequest
 
setRule(IRule) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
setRule(IRule) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
setRule(IRule) - Method in class com.netflix.loadbalancer.RetryRule
 
setRule(IRule) - Method in class com.netflix.loadbalancer.ZoneAwareLoadBalancer
 
setServerListForZones(Map<String, List<Server>>) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
setServerListForZones(Map<String, List<Server>>) - Method in class com.netflix.loadbalancer.ZoneAwareLoadBalancer
 
setServerListImpl(ServerList<T>) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
setServersList(List) - Method in class com.netflix.loadbalancer.BaseLoadBalancer
Set the list of servers used as the server pool.
setServersList(List) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
setUri(URI) - Method in class com.netflix.client.ClientRequest
 
setZone(String) - Method in class com.netflix.loadbalancer.Server
 
shutdown() - Method in class com.netflix.loadbalancer.ResponseTimeWeightedRule
 
shutdownExecutorPool() - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
SimpleVipAddressResolver - Class in com.netflix.client
A "VipAddress" in Ribbon terminology is a logical name used for a target server farm.
SimpleVipAddressResolver() - Constructor for class com.netflix.client.SimpleVipAddressResolver
 

T

target - Variable in class com.netflix.loadbalancer.InterruptTask
 
toString() - Method in class com.netflix.client.config.DefaultClientConfigImpl
 
toString() - Method in class com.netflix.loadbalancer.BaseLoadBalancer
 
toString() - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
 
toString() - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
toString() - Method in class com.netflix.loadbalancer.Server
 
toString() - Method in class com.netflix.loadbalancer.ServerStats
 
toString() - Method in class com.netflix.loadbalancer.ZoneSnapshot
 
toString() - Method in class com.netflix.loadbalancer.ZoneStats
 

U

UNKNOWN_ZONE - Static variable in class com.netflix.loadbalancer.Server
 
updateAllServerList(List<T>) - Method in class com.netflix.loadbalancer.DynamicServerListLoadBalancer
Update the AllServer list in the LoadBalancer if necessary and enabled
updateServerList(List<Server>) - Method in class com.netflix.loadbalancer.LoadBalancerStats
The caller o this class is tasked to call this method every so often if the servers participating in the LoadBalancer changes
updateZoneServerMapping(Map<String, List<Server>>) - Method in class com.netflix.loadbalancer.LoadBalancerStats
 
upServerList - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
upServerLock - Variable in class com.netflix.loadbalancer.BaseLoadBalancer
 
uri - Variable in class com.netflix.client.ClientRequest
 

V

valueOf(String) - Static method in enum com.netflix.client.ClientException.ErrorType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.client.config.CommonClientConfigKey
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.netflix.loadbalancer.AbstractLoadBalancer.ServerGroup
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.netflix.client.ClientException.ErrorType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.client.config.CommonClientConfigKey
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.netflix.loadbalancer.AbstractLoadBalancer.ServerGroup
Returns an array containing the constants of this enum type, in the order they are declared.
VipAddressResolver - Interface in com.netflix.client
A "VipAddress" is a logical name for a Target Server farm.

W

WeightedResponseTimeRule - Class in com.netflix.loadbalancer
This class essentially contains the ResponseTimeWeightedRule class defined in the loadbalancer package
WeightedResponseTimeRule() - Constructor for class com.netflix.loadbalancer.WeightedResponseTimeRule
 

Z

ZoneAvoidanceRule - Class in com.netflix.loadbalancer
 
ZoneAvoidanceRule() - Constructor for class com.netflix.loadbalancer.ZoneAvoidanceRule
 
ZoneAwareLoadBalancer<T extends Server> - Class in com.netflix.loadbalancer
Load balancer that can avoid a zone as a whole when choosing server.
ZoneAwareLoadBalancer() - Constructor for class com.netflix.loadbalancer.ZoneAwareLoadBalancer
 
ZoneSnapshot - Class in com.netflix.loadbalancer
Captures the metrics on a Per Zone basis (Zone is modeled after the Amazon Availability Zone)
ZoneSnapshot() - Constructor for class com.netflix.loadbalancer.ZoneSnapshot
 
ZoneSnapshot(int, int, int, double) - Constructor for class com.netflix.loadbalancer.ZoneSnapshot
 
ZoneStats<T extends Server> - Class in com.netflix.loadbalancer
Class that stores Statistics per Zone (where Zone is typically a Amazon Availability Zone)
ZoneStats(String, String, LoadBalancerStats) - Constructor for class com.netflix.loadbalancer.ZoneStats
 

A B C D E F G H I K L M N O P R S T U V W Z