public class AsyncConnectionManager
extends net.spy.memcached.compat.SpyObject
Constructor and Description |
---|
AsyncConnectionManager(org.apache.http.HttpHost target,
int maxConnections,
org.apache.http.nio.NHttpClientHandler handler,
org.apache.http.params.HttpParams params,
RequeueOpCallback cb) |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
boolean |
hasPendingRequests() |
void |
releaseConnection(org.apache.http.nio.NHttpClientConnection conn) |
AsyncConnectionRequest |
requestConnection() |
void |
shutdown(long waitMs) |
public AsyncConnectionManager(org.apache.http.HttpHost target, int maxConnections, org.apache.http.nio.NHttpClientHandler handler, org.apache.http.params.HttpParams params, RequeueOpCallback cb) throws org.apache.http.nio.reactor.IOReactorException
org.apache.http.nio.reactor.IOReactorException
public void execute() throws java.io.IOException
java.io.IOException
public boolean hasPendingRequests()
public void shutdown(long waitMs) throws java.io.IOException
java.io.IOException
public AsyncConnectionRequest requestConnection()
public void releaseConnection(org.apache.http.nio.NHttpClientConnection conn)
Copyright © 2006-2009 Dustin Sallings, 2009-2012 Couchbase, Inc.