org.apache.http.impl.conn.tsccm
Class BasicPoolEntry
java.lang.Object
org.apache.http.impl.conn.AbstractPoolEntry
org.apache.http.impl.conn.tsccm.BasicPoolEntry
public class BasicPoolEntry
- extends AbstractPoolEntry
Basic implementation of a connection pool entry.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicPoolEntry
public BasicPoolEntry(ClientConnectionOperator op,
HttpRoute route,
java.lang.ref.ReferenceQueue<java.lang.Object> queue)
- Creates a new pool entry.
- Parameters:
op
- the connection operatorroute
- the planned route for the connectionqueue
- the reference queue for tracking GC of this entry,
or null
getConnection
protected final OperatedClientConnection getConnection()
getPlannedRoute
protected final HttpRoute getPlannedRoute()
getWeakRef
protected final BasicPoolEntryRef getWeakRef()
shutdownEntry
protected void shutdownEntry()
- Description copied from class:
AbstractPoolEntry
- Shuts down the entry.
If
AbstractPoolEntry.open(HttpRoute, HttpContext, HttpParams)
is in progress,
this will cause that open to possibly throw an IOException
.
- Overrides:
shutdownEntry
in class AbstractPoolEntry
Copyright © 1999-2008 Apache Software Foundation. All Rights Reserved.