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 void
cancelled()
void
completed(HttpPoolEntry entry)
void
failed(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:
completed
in interfaceorg.apache.http.concurrent.FutureCallback<HttpPoolEntry>
-
failed
public void failed(java.lang.Exception ex)
- Specified by:
failed
in interfaceorg.apache.http.concurrent.FutureCallback<HttpPoolEntry>
-
cancelled
public void cancelled()
- Specified by:
cancelled
in interfaceorg.apache.http.concurrent.FutureCallback<HttpPoolEntry>
-
-