net.spy.memcached.couch
Class AsyncConnectionManager
java.lang.Object
net.spy.memcached.compat.SpyObject
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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)