Package org.apache.http.impl.nio.pool
Class BasicNIOPoolEntry
- java.lang.Object
-
- org.apache.http.pool.PoolEntry<HttpHost,NHttpClientConnection>
-
- org.apache.http.impl.nio.pool.BasicNIOPoolEntry
-
@ThreadSafe public class BasicNIOPoolEntry extends PoolEntry<HttpHost,NHttpClientConnection>
A basicPoolEntryimplementation that represents an entry in a pool of non-blockingNHttpClientConnections identified by anHttpHostinstance.- Since:
- 4.2
- See Also:
HttpHost
-
-
Constructor Summary
Constructors Constructor Description BasicNIOPoolEntry(java.lang.String id, HttpHost route, NHttpClientConnection conn)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()booleanisClosed()-
Methods inherited from class org.apache.http.pool.PoolEntry
getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidUnit, isExpired, setState, toString, updateExpiry
-
-
-
-
Constructor Detail
-
BasicNIOPoolEntry
public BasicNIOPoolEntry(java.lang.String id, HttpHost route, NHttpClientConnection conn)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein classPoolEntry<HttpHost,NHttpClientConnection>
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin classPoolEntry<HttpHost,NHttpClientConnection>
-
-