net.spy.memcached.couch
Class AsyncConnectionManager

java.lang.Object
  extended by net.spy.memcached.compat.SpyObject
      extended by net.spy.memcached.couch.AsyncConnectionManager

public class AsyncConnectionManager
extends SpyObject


Constructor Summary
AsyncConnectionManager(org.apache.http.HttpHost target, int maxConnections, org.apache.http.nio.NHttpClientHandler handler, org.apache.http.params.HttpParams params)
           
 
Method Summary
 void execute()
           
 void releaseConnection(org.apache.http.nio.NHttpClientConnection conn)
           
 AsyncConnectionRequest requestConnection()
           
 void shutdown(long waitMs)
           
 
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

AsyncConnectionManager

public AsyncConnectionManager(org.apache.http.HttpHost target,
                              int maxConnections,
                              org.apache.http.nio.NHttpClientHandler handler,
                              org.apache.http.params.HttpParams params)
                       throws org.apache.http.nio.reactor.IOReactorException
Throws:
org.apache.http.nio.reactor.IOReactorException
Method Detail

execute

public void execute()
             throws IOException
Throws:
IOException

shutdown

public void shutdown(long waitMs)
              throws IOException
Throws:
IOException

requestConnection

public AsyncConnectionRequest requestConnection()

releaseConnection

public void releaseConnection(org.apache.http.nio.NHttpClientConnection conn)