Uses of Class
voldemort.client.ClientConfig

Packages that use ClientConfig
voldemort The root package. 
voldemort.client The user facing interface to Voldemort. 
voldemort.client.protocol.admin Classes that abstract admin based Voldemort requests. 
voldemort.cluster.failuredetector Classes associated with client side failure detectors. 
voldemort.store.routed A store implmentation that handles routing to nodes, and repairing obsolete values detected on those nodes. 
 

Uses of ClientConfig in voldemort
 

Constructors in voldemort with parameters of type ClientConfig
VoldemortClientShell(ClientConfig clientConfig, java.lang.String storeName, java.io.BufferedReader commandReader, java.io.PrintStream commandOutput, java.io.PrintStream errorStream)
           
 

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.setCacheStoreClients(boolean cacheStoreClients)
          if true, any subclass of AbstractStoreClientFactory will internally reuse StoreClient instances for each store.
 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.setEnableCompressionLayer(boolean enableCompressionLayer)
           
 ClientConfig ClientConfig.setEnableInconsistencyResolvingLayer(boolean enableInconsistencyResolvingLayer)
           
 ClientConfig ClientConfig.setEnableJmx(boolean enableJmx)
          Enable JMX monitoring of the clients?
 ClientConfig ClientConfig.setEnableLazy(boolean enableLazy)
          Enable lazy initialization of clients?
 ClientConfig ClientConfig.setEnableSerializationLayer(boolean enableSerializationLayer)
           
 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.setFatClientWrapperCorePoolSize(int fatClientWrapperCorePoolSize)
           
 ClientConfig ClientConfig.setFatClientWrapperKeepAliveInSecs(int fatClientWrapperKeepAliveInSecs)
           
 ClientConfig ClientConfig.setFatClientWrapperMaxPoolSize(int fatClientWrapperMaxPoolSize)
           
 ClientConfig ClientConfig.setIdentifierString(java.lang.String identifierString)
          The string that identifies StoreClientFactory and other internal entities Default : null, meaning that users will use jmxId as identifier in AbstractStoreClientFactory
 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.setMaximumTolerableFatalFailures(int maximumTolerableFatalFailures)
          Sets the maximum number of Fatal failures (connectivity failures) acceptable before the node is marked as unavailable (in case of ThresholdFailureDetector).
 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.setThreadIdleTime(long threadIdleTime, java.util.concurrent.TimeUnit unit)
          Deprecated. 
 ClientConfig ClientConfig.setTimeoutConfig(TimeoutConfig tConfig)
          Set the timeout configuration for the voldemort operations
 ClientConfig ClientConfig.setZoneAffinity(ZoneAffinity zoneAffinity)
           
 

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

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)
          Deprecated.  
SocketStoreClientFactory(ClientConfig config)
           
SystemStoreClientFactory(ClientConfig clientConfig)
           
SystemStoreRepository(ClientConfig clientConfig)
           
ZenStoreClient(java.lang.String storeName, InconsistencyResolver<Versioned<V>> resolver, AbstractStoreClientFactory storeFactory, int maxMetadataRefreshAttempts, java.lang.String clientContext, int clientSequence, ClientConfig config, SchedulerService scheduler, SystemStoreRepository sysRepository)
           
 

Uses of ClientConfig in voldemort.client.protocol.admin
 

Constructors in voldemort.client.protocol.admin with parameters of type ClientConfig
AdminClient(Cluster cluster, AdminClientConfig adminClientConfig, ClientConfig clientConfig)
          Create an instance of AdminClient given a Cluster object.
AdminClient(java.lang.String bootstrapURL, AdminClientConfig adminClientConfig, ClientConfig clientConfig)
          Create an instance of AdminClient given a URL of a node in the cluster.
AdminClient(java.lang.String bootstrapURL, AdminClientConfig adminClientConfig, ClientConfig clientConfig, int zoneID)
          Wrapper for the actual AdminClient constructor given the URL of a node in the cluster.
 

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).
 

Uses of ClientConfig in voldemort.store.routed
 

Constructors in voldemort.store.routed with parameters of type ClientConfig
RoutedStoreConfig(ClientConfig clientConfig)
           
 



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