Package org.apache.http.impl.nio.conn
Class PoolingClientAsyncConnectionManager.InternalPoolEntryCallback
- java.lang.Object
-
- org.apache.http.impl.nio.conn.PoolingClientAsyncConnectionManager.InternalPoolEntryCallback
-
- All Implemented Interfaces:
org.apache.http.concurrent.FutureCallback<HttpPoolEntry>
- Enclosing class:
- PoolingClientAsyncConnectionManager
class PoolingClientAsyncConnectionManager.InternalPoolEntryCallback extends java.lang.Object implements org.apache.http.concurrent.FutureCallback<HttpPoolEntry>
-
-
Field Summary
Fields Modifier and Type Field Description private org.apache.http.concurrent.BasicFuture<ManagedClientAsyncConnection>future
-
Constructor Summary
Constructors Constructor Description InternalPoolEntryCallback(org.apache.http.concurrent.BasicFuture<ManagedClientAsyncConnection> future)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcancelled()voidcompleted(HttpPoolEntry entry)voidfailed(java.lang.Exception ex)
-
-
-
Field Detail
-
future
private final org.apache.http.concurrent.BasicFuture<ManagedClientAsyncConnection> future
-
-
Constructor Detail
-
InternalPoolEntryCallback
public InternalPoolEntryCallback(org.apache.http.concurrent.BasicFuture<ManagedClientAsyncConnection> future)
-
-
Method Detail
-
completed
public void completed(HttpPoolEntry entry)
- Specified by:
completedin interfaceorg.apache.http.concurrent.FutureCallback<HttpPoolEntry>
-
failed
public void failed(java.lang.Exception ex)
- Specified by:
failedin interfaceorg.apache.http.concurrent.FutureCallback<HttpPoolEntry>
-
cancelled
public void cancelled()
- Specified by:
cancelledin interfaceorg.apache.http.concurrent.FutureCallback<HttpPoolEntry>
-
-