Uses of Class
net.spy.memcached.ConnectionFactoryBuilder
Packages that use ConnectionFactoryBuilder
-
Uses of ConnectionFactoryBuilder in net.spy.memcached
Methods in net.spy.memcached that return ConnectionFactoryBuilderModifier and TypeMethodDescriptionConnectionFactoryBuilder.setAuthDescriptor
(AuthDescriptor to) Set the auth descriptor to enable authentication on new connections.ConnectionFactoryBuilder.setAuthWaitTime
(long authWaitTime) Set a custom wait time for the authentication on connect/reconnect.ConnectionFactoryBuilder.setDaemon
(boolean d) Set the daemon state of the IO thread (defaults to true).ConnectionFactoryBuilder.setEnableMetrics
(MetricType type) Enable or disable metric collection.ConnectionFactoryBuilder.setFailureMode
(FailureMode fm) Set the failure mode.ConnectionFactoryBuilder.setHashAlg
(HashAlgorithm to) Set the hash algorithm.ConnectionFactoryBuilder.setInitialObservers
(Collection<ConnectionObserver> obs) Set the initial connection observers (will observe initial connection).ConnectionFactoryBuilder.setListenerExecutorService
(ExecutorService executorService) Set a customExecutorService
to execute the listener callbacks.ConnectionFactoryBuilder.setLocatorType
(ConnectionFactoryBuilder.Locator l) Set the locator type.ConnectionFactoryBuilder.setMaxReconnectDelay
(long to) Set the maximum reconnect delay.ConnectionFactoryBuilder.setMetricCollector
(MetricCollector collector) Set a customMetricCollector
.ConnectionFactoryBuilder.setOpFact
(OperationFactory f) Set the operation factory.ConnectionFactoryBuilder.setOpQueueFactory
(OperationQueueFactory q) ConnectionFactoryBuilder.setOpQueueMaxBlockTime
(long t) Set the maximum amount of time (in milliseconds) a client is willing to wait for space to become available in an output queue.ConnectionFactoryBuilder.setOpTimeout
(long t) Set the default operation timeout in milliseconds.ConnectionFactoryBuilder.setProtocol
(ConnectionFactoryBuilder.Protocol prot) Convenience method to specify the protocol to use.ConnectionFactoryBuilder.setReadBufferSize
(int to) Set the read buffer size.ConnectionFactoryBuilder.setReadOpQueueFactory
(OperationQueueFactory q) Set the read queue factory.ConnectionFactoryBuilder.setShouldOptimize
(boolean o) Set to false if the default operation optimization is not desirable.ConnectionFactoryBuilder.setTimeoutExceptionThreshold
(int to) Set the maximum timeout exception threshold.ConnectionFactoryBuilder.setTranscoder
(Transcoder<Object> t) Set the default transcoder.ConnectionFactoryBuilder.setUseNagleAlgorithm
(boolean to) Set to true if you'd like to enable the Nagle algorithm.ConnectionFactoryBuilder.setWriteOpQueueFactory
(OperationQueueFactory q) Set the write queue factory.