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 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
getOperator
protected ClientConnectionOperator getOperator()
- Description copied from class:
AbstractPoolEntry
- Obtains the connection
operator
.
- Specified by:
getOperator
in class AbstractPoolEntry
- Returns:
- the operator for opening connections and layering protocols
getConnection
protected final OperatedClientConnection getConnection()
getPlannedRoute
protected final HttpRoute getPlannedRoute()
getWeakRef
protected final java.lang.ref.WeakReference getWeakRef()
Copyright © 2000-2007 Apache Software Foundation. All Rights Reserved.