Uses of Class
voldemort.client.ClientConfig

Packages that use ClientConfig
voldemort.client The user facing interface to Voldemort. 
voldemort.cluster.failuredetector Classes associated with client side failure detectors. 
 

Uses of ClientConfig in voldemort.client
 

Methods in voldemort.client that return ClientConfig
 ClientConfig ClientConfig.enableDefaultClient(boolean enableDefault)
          Whether or not a ZenStoreClient is created as opposed to a DefaultStoreClient true = DefaultStoreClient and false = ZenStoreClient
 ClientConfig ClientInfo.getClientConfig()
           
protected  ClientConfig AbstractStoreClientFactory.getConfig()
           
 ClientConfig ClientConfig.setAsyncJobThreadPoolSize(int asyncJobThreadPoolSize)
          Set the # of threads for the async.
 ClientConfig ClientConfig.setAsyncMetadataRefreshInMs(long asyncCheckMetadataIntervalMs)
          Set the interval on which client checks for metadata change on servers
 ClientConfig ClientConfig.setBootstrapUrls(java.util.List<java.lang.String> bootstrapUrls)
          Set the bootstrap urls from which to attempt a connection
 ClientConfig ClientConfig.setBootstrapUrls(java.lang.String... bootstrapUrls)
          Set the bootstrap urls from which to attempt a connection
 ClientConfig ClientConfig.setClientContextName(java.lang.String clientContextName)
          Set the client context name
 ClientConfig ClientConfig.setClientRegistryUpdateIntervalInSecs(int clientRegistryRefrshIntervalInSecs)
          Set the interval on which client refreshes its corresponding entry of the client registry on the servers
 ClientConfig ClientConfig.setClientZoneId(int clientZoneId)
          Sets the zone the client belongs to.
 ClientConfig ClientConfig.setConnectionTimeout(int connectionTimeout, java.util.concurrent.TimeUnit unit)
          Set the maximum allowable time to block waiting for a free connection
 ClientConfig ClientConfig.setEnableJmx(boolean enableJmx)
          Enable JMX monitoring of the clients?
 ClientConfig ClientConfig.setEnableLazy(boolean enableLazy)
          Enable lazy initialization of clients?
 ClientConfig ClientConfig.setEnablePipelineRoutedStore(boolean enablePipelineRoutedStore)
          Whether or not to use the Pipeline routing which is much more resource efficient by employing Java NIO to handle communication with the server
 ClientConfig ClientConfig.setFailureDetectorAsyncRecoveryInterval(long failureDetectorAsyncRecoveryInterval)
          Number of milliseconds, to try to check if a marked down server has come back up again
 ClientConfig ClientConfig.setFailureDetectorBannagePeriod(long failureDetectorBannagePeriod)
           
 ClientConfig ClientConfig.setFailureDetectorCatastrophicErrorTypes(java.util.List<java.lang.String> failureDetectorCatastrophicErrorTypes)
          Sets the exception types that should be treated as catastrophic,by the failure detector, resulting in the server being immediately considered down.
 ClientConfig ClientConfig.setFailureDetectorImplementation(java.lang.String failureDetectorImplementation)
          FailureDetector to use.
 ClientConfig ClientConfig.setFailureDetectorRequestLengthThreshold(long failureDetectorRequestLengthThreshold)
          Sets the maximum amount of time a request is allowed to take, to be not considered as a "slow" request and count against the server, in terms of failure detection
 ClientConfig ClientConfig.setFailureDetectorThreshold(int failureDetectorThreshold)
          Set the percentage of exceptions that tolerated in a given failure detector window.
 ClientConfig ClientConfig.setFailureDetectorThresholdCountMinimum(int failureDetectorThresholdCountMinimum)
          Sets the minimum number of failures (exceptions/slow responses) in a given failure detector window, for a server to be marked down.
 ClientConfig ClientConfig.setFailureDetectorThresholdInterval(long failureDetectorThresholdIntervalMs)
          Time window in ms, over which the failure detector accounts the failures and successes
 ClientConfig ClientConfig.setMaxBootstrapRetries(int maxBootstrapRetries)
          If we are unable to bootstrap, how many times should we re-try?
 ClientConfig ClientConfig.setMaxConnectionsPerNode(int maxConnectionsPerNode)
          Set the maximum number of connections allowed to each voldemort node.
 ClientConfig ClientConfig.setMaxQueuedRequests(int maxQueuedRequests)
          Set the maximum number of queued node operations before client actions will be blocked
 ClientConfig ClientConfig.setMaxThreads(int maxThreads)
          Set the maximum number of client threads
 ClientConfig ClientConfig.setMaxTotalConnections(int maxTotalConnections)
          Deprecated. 
 ClientConfig ClientConfig.setNodeBannagePeriod(int nodeBannagePeriod, java.util.concurrent.TimeUnit unit)
          Deprecated. Use setFailureDetectorBannagePeriod(long) instead
 ClientConfig ClientConfig.setRequestFormatType(RequestFormatType requestFormatType)
          Set the request format type used for network communications (for example protocol buffers)
 ClientConfig ClientConfig.setRoutingTier(RoutingTier routingTier)
          Set the tier at which routing occurs.
 ClientConfig ClientConfig.setRoutingTimeout(int routingTimeout, java.util.concurrent.TimeUnit unit)
          Set the timeout for all blocking operations to complete on all nodes.
 ClientConfig ClientConfig.setSelectors(int selectors)
          Number of NIO selector threads to use, to handle communication with the server.Typically, this is same as the number of cores in the client machine
 ClientConfig ClientConfig.setSerializerFactory(SerializerFactory serializerFactory)
          Set the SerializerFactory used to serialize and deserialize values
 ClientConfig ClientConfig.setSocketBufferSize(int socketBufferSize)
          Set the size of the socket buffer to use for both socket reads and socket writes
 ClientConfig ClientConfig.setSocketKeepAlive(boolean socketKeepAlive)
          Enabled/disable SO_KEEPALIVE on the connection created with the voldemort servers
 ClientConfig ClientConfig.setSocketTimeout(int socketTimeout, java.util.concurrent.TimeUnit unit)
          Set the SO_TIMEOUT for the socket if using HTTP or socket based network communication.
 ClientConfig ClientConfig.setSysEnableJmx(boolean sysEnableJmx)
          Whether or not JMX monitoring is enabled for the system store
 ClientConfig ClientConfig.setSysEnablePipelineRoutedStore(boolean sysEnablePipelineRoutedStore)
          Should pipleline store be used by the system store client?
 ClientConfig ClientConfig.setThreadIdleTime(long threadIdleTime, java.util.concurrent.TimeUnit unit)
          Deprecated. 
 ClientConfig ClientConfig.setTimeoutConfig(TimeoutConfig tConfig)
          Set the timeout configuration for the voldemort operations
 

Methods in voldemort.client with parameters of type ClientConfig
 void SystemStoreRepository.createSystemStores(ClientConfig config, java.lang.String clusterXml, FailureDetector fd)
           
protected  FailureDetector SocketStoreClientFactory.initFailureDetector(ClientConfig config, Cluster cluster)
           
protected  FailureDetector HttpStoreClientFactory.initFailureDetector(ClientConfig config, Cluster cluster)
           
protected abstract  FailureDetector AbstractStoreClientFactory.initFailureDetector(ClientConfig config, Cluster cluster)
           
 

Constructors in voldemort.client with parameters of type ClientConfig
AbstractStoreClientFactory(ClientConfig config)
           
ClientInfo(java.lang.String storeName, java.lang.String clientContext, int clientSequence, long bootstrapTime, java.lang.String version, ClientConfig config)
           
HttpStoreClientFactory(ClientConfig config)
           
SocketStoreClientFactory(ClientConfig config)
           
SystemStore(java.lang.String storeName, java.lang.String[] bootstrapUrls, int clientZoneID, ClientConfig baseConfig)
          Wrapper for the actual SystemStore constructor.
SystemStore(java.lang.String storeName, java.lang.String[] bootstrapUrls, int clientZoneID, java.lang.String clusterXml, FailureDetector fd, ClientConfig baseConfig)
          SystemStore Constructor that creates a system store client which can be used to interact with the system stores managed by the cluster
ZenStoreClient(java.lang.String storeName, InconsistencyResolver<Versioned<V>> resolver, AbstractStoreClientFactory storeFactory, int maxMetadataRefreshAttempts, java.lang.String clientContext, int clientSequence, ClientConfig config, SchedulerService scheduler)
           
 

Uses of ClientConfig in voldemort.cluster.failuredetector
 

Constructors in voldemort.cluster.failuredetector with parameters of type ClientConfig
FailureDetectorConfig(ClientConfig config)
          Constructs a new FailureDetectorConfig from a client perspective (via ClientConfig).
 



Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu