org.apache.http.impl.conn.tsccm
Class BasicPoolEntry

java.lang.Object
  extended by org.apache.http.impl.conn.AbstractPoolEntry
      extended by org.apache.http.impl.conn.tsccm.BasicPoolEntry

@NotThreadSafe
public class BasicPoolEntry
extends AbstractPoolEntry

Basic implementation of a connection pool entry.

Since:
4.0

Field Summary
 
Fields inherited from class org.apache.http.impl.conn.AbstractPoolEntry
connection, connOperator, route, state, tracker
 
Constructor Summary
BasicPoolEntry(ClientConnectionOperator op, HttpRoute route)
          Creates a new pool entry.
BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue)
          Deprecated. do not use
 
Method Summary
protected  OperatedClientConnection getConnection()
           
protected  HttpRoute getPlannedRoute()
           
protected  BasicPoolEntryRef getWeakRef()
          Deprecated. 
protected  void shutdownEntry()
          Shuts down the entry.
 
Methods inherited from class org.apache.http.impl.conn.AbstractPoolEntry
getState, layerProtocol, open, setState, tunnelProxy, tunnelTarget
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicPoolEntry

@Deprecated
public BasicPoolEntry(ClientConnectionOperator op,
                                 HttpRoute route,
                                 ReferenceQueue<Object> queue)
Deprecated. do not use


BasicPoolEntry

public BasicPoolEntry(ClientConnectionOperator op,
                      HttpRoute route)
Creates a new pool entry.

Parameters:
op - the connection operator
route - the planned route for the connection
Method Detail

getConnection

protected final OperatedClientConnection getConnection()

getPlannedRoute

protected final HttpRoute getPlannedRoute()

getWeakRef

@Deprecated
protected final BasicPoolEntryRef getWeakRef()
Deprecated. 


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-2010 Apache Software Foundation. All Rights Reserved.