public class HttpPoolEntry
extends org.apache.http.pool.PoolEntry<org.apache.http.conn.routing.HttpRoute,org.apache.http.conn.OperatedClientConnection>
PoolEntry
Constructor and Description |
---|
HttpPoolEntry(org.slf4j.Logger log,
String id,
org.apache.http.conn.routing.HttpRoute route,
org.apache.http.conn.OperatedClientConnection conn,
long timeToLive,
TimeUnit tunit) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isClosed() |
boolean |
isExpired(long now) |
public boolean isExpired(long now)
isExpired
in class org.apache.http.pool.PoolEntry<org.apache.http.conn.routing.HttpRoute,org.apache.http.conn.OperatedClientConnection>
public boolean isClosed()
isClosed
in class org.apache.http.pool.PoolEntry<org.apache.http.conn.routing.HttpRoute,org.apache.http.conn.OperatedClientConnection>
public void close()
close
in class org.apache.http.pool.PoolEntry<org.apache.http.conn.routing.HttpRoute,org.apache.http.conn.OperatedClientConnection>
Copyright © 1998-2017 Apache Software Foundation. All Rights Reserved.