net.spy.memcached
Class CouchbaseConnectionFactory
java.lang.Object
net.spy.memcached.compat.SpyObject
net.spy.memcached.DefaultConnectionFactory
net.spy.memcached.BinaryConnectionFactory
net.spy.memcached.MembaseConnectionFactory
net.spy.memcached.CouchbaseConnectionFactory
- All Implemented Interfaces:
- ConnectionFactory
public class CouchbaseConnectionFactory
- extends MembaseConnectionFactory
| Methods inherited from class net.spy.memcached.DefaultConnectionFactory |
createConnection, createOperationQueue, createReadOperationQueue, createWriteOperationQueue, getDefaultTranscoder, getFailureMode, getHashAlg, getInitialObservers, getMaxReconnectDelay, getOperationTimeout, getOpQueueLen, getOpQueueMaxBlockTime, getReadBufSize, getTimeoutExceptionThreshold, isDaemon, shouldOptimize, useNagleAlgorithm |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CouchbaseConnectionFactory
public CouchbaseConnectionFactory(List<URI> baseList,
String bucketName,
String usr,
String pwd)
throws IOException
- Throws:
IOException
createCouchDBNode
public CouchbaseNode createCouchDBNode(InetSocketAddress addr,
AsyncConnectionManager connMgr)
createMemcachedConnection
public MemcachedConnection createMemcachedConnection(List<InetSocketAddress> addrs)
throws IOException
- Throws:
IOException
createCouchDBConnection
public CouchbaseConnection createCouchDBConnection(List<InetSocketAddress> addrs)
throws IOException
- Throws:
IOException