|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.spy.memcached.ConnectionFactoryBuilder
public class ConnectionFactoryBuilder
Builder for more easily configuring a ConnectionFactory.
Nested Class Summary | |
---|---|
static class |
ConnectionFactoryBuilder.Locator
Type of node locator to use. |
static class |
ConnectionFactoryBuilder.Protocol
Type of protocol to use for connections. |
Constructor Summary | |
---|---|
ConnectionFactoryBuilder()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectionFactoryBuilder()
Method Detail |
---|
public ConnectionFactoryBuilder setOpQueueFactory(OperationQueueFactory q)
public ConnectionFactoryBuilder setReadOpQueueFactory(OperationQueueFactory q)
public ConnectionFactoryBuilder setWriteOpQueueFactory(OperationQueueFactory q)
public ConnectionFactoryBuilder setTranscoder(Transcoder<Object> t)
public ConnectionFactoryBuilder setFailureMode(FailureMode fm)
public ConnectionFactoryBuilder setInitialObservers(Collection<ConnectionObserver> obs)
public ConnectionFactoryBuilder setOpFact(OperationFactory f)
MemcachedNode
public ConnectionFactoryBuilder setOpTimeout(long t)
public ConnectionFactoryBuilder setDaemon(boolean d)
public ConnectionFactoryBuilder setShouldOptimize(boolean o)
public ConnectionFactoryBuilder setReadBufferSize(int to)
public ConnectionFactoryBuilder setHashAlg(HashAlgorithm to)
public ConnectionFactoryBuilder setUseNagleAlgorithm(boolean to)
public ConnectionFactoryBuilder setProtocol(ConnectionFactoryBuilder.Protocol prot)
public ConnectionFactoryBuilder setLocatorType(ConnectionFactoryBuilder.Locator l)
public ConnectionFactoryBuilder setMaxReconnectDelay(long to)
public ConnectionFactory build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |