net.spy.memcached
Class CouchbaseConnectionFactory

java.lang.Object
  extended by net.spy.memcached.compat.SpyObject
      extended by net.spy.memcached.DefaultConnectionFactory
          extended by net.spy.memcached.BinaryConnectionFactory
              extended by net.spy.memcached.MembaseConnectionFactory
                  extended by net.spy.memcached.CouchbaseConnectionFactory
All Implemented Interfaces:
ConnectionFactory

public class CouchbaseConnectionFactory
extends MembaseConnectionFactory


Field Summary
 
Fields inherited from class net.spy.memcached.MembaseConnectionFactory
DEFAULT_FAILURE_MODE, DEFAULT_HASH, DEFAULT_OP_QUEUE_LEN
 
Fields inherited from class net.spy.memcached.DefaultConnectionFactory
DEFAULT_MAX_RECONNECT_DELAY, DEFAULT_MAX_TIMEOUTEXCEPTION_THRESHOLD, DEFAULT_OP_QUEUE_MAX_BLOCK_TIME, DEFAULT_OPERATION_TIMEOUT, DEFAULT_READ_BUFFER_SIZE, opQueueLen
 
Constructor Summary
CouchbaseConnectionFactory(List<URI> baseList, String bucketName, String usr, String pwd)
           
 
Method Summary
 CouchbaseConnection createCouchDBConnection(List<InetSocketAddress> addrs)
           
 CouchbaseNode createCouchDBNode(InetSocketAddress addr, AsyncConnectionManager connMgr)
           
 MemcachedConnection createMemcachedConnection(List<InetSocketAddress> addrs)
           
 
Methods inherited from class net.spy.memcached.MembaseConnectionFactory
createLocator, getAuthDescriptor, getBucket, getConfigurationProvider, getLocator, getVBucketConfig
 
Methods inherited from class net.spy.memcached.BinaryConnectionFactory
createMemcachedNode, getOperationFactory
 
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 net.spy.memcached.compat.SpyObject
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CouchbaseConnectionFactory

public CouchbaseConnectionFactory(List<URI> baseList,
                                  String bucketName,
                                  String usr,
                                  String pwd)
                           throws IOException
Throws:
IOException
Method Detail

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