PoolEntry@Deprecated public class BasicPoolEntry extends AbstractPoolEntry
| Constructor and Description |
|---|
BasicPoolEntry(ClientConnectionOperator op,
HttpRoute route)
Deprecated.
Creates a new pool entry.
|
BasicPoolEntry(ClientConnectionOperator op,
HttpRoute route,
long connTTL,
TimeUnit timeunit)
Deprecated.
Creates a new pool entry with a specified maximum lifetime.
|
BasicPoolEntry(ClientConnectionOperator op,
HttpRoute route,
ReferenceQueue<Object> queue)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getCreated()
Deprecated.
|
long |
getExpiry()
Deprecated.
|
long |
getUpdated()
Deprecated.
|
long |
getValidUntil()
Deprecated.
|
boolean |
isExpired(long now)
Deprecated.
|
void |
updateExpiry(long time,
TimeUnit timeunit)
Deprecated.
|
getState, layerProtocol, open, setState, tunnelProxy, tunnelTargetpublic BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue)
public BasicPoolEntry(ClientConnectionOperator op, HttpRoute route)
op - the connection operatorroute - the planned route for the connectionpublic BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, long connTTL, TimeUnit timeunit)
op - the connection operatorroute - the planned route for the connectionconnTTL - maximum lifetime of this entry, <=0 implies "infinity"timeunit - TimeUnit of connTTLpublic long getCreated()
public long getUpdated()
public long getExpiry()
public long getValidUntil()
public void updateExpiry(long time,
TimeUnit timeunit)
public boolean isExpired(long now)
Copyright © 2010 - 2020 Adobe. All Rights Reserved