com.yammer.metrics.httpclient
Class InstrumentedClientConnManager

java.lang.Object
  extended by org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
      extended by com.yammer.metrics.httpclient.InstrumentedClientConnManager
All Implemented Interfaces:
org.apache.http.conn.ClientConnectionManager

public class InstrumentedClientConnManager
extends org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager

A ClientConnectionManager which monitors the number of open connections.


Field Summary
 
Fields inherited from class org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
connectionPool, connOperator, connPerRoute, pool, schemeRegistry
 
Constructor Summary
InstrumentedClientConnManager()
           
InstrumentedClientConnManager(org.apache.http.conn.scheme.SchemeRegistry registry)
           
InstrumentedClientConnManager(org.apache.http.conn.scheme.SchemeRegistry registry, long connTTL, TimeUnit connTTLTimeUnit)
           
 
Method Summary
protected  org.apache.http.impl.conn.tsccm.ConnPoolByRoute createConnectionPool(long connTTL, TimeUnit connTTLTimeUnit)
           
 
Methods inherited from class org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager
closeExpiredConnections, closeIdleConnections, createConnectionOperator, createConnectionPool, finalize, getConnectionsInPool, getConnectionsInPool, getDefaultMaxPerRoute, getMaxForRoute, getMaxTotal, getSchemeRegistry, releaseConnection, requestConnection, setDefaultMaxPerRoute, setMaxForRoute, setMaxTotal, shutdown
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InstrumentedClientConnManager

public InstrumentedClientConnManager(org.apache.http.conn.scheme.SchemeRegistry registry)

InstrumentedClientConnManager

public InstrumentedClientConnManager()

InstrumentedClientConnManager

public InstrumentedClientConnManager(org.apache.http.conn.scheme.SchemeRegistry registry,
                                     long connTTL,
                                     TimeUnit connTTLTimeUnit)
Method Detail

createConnectionPool

protected org.apache.http.impl.conn.tsccm.ConnPoolByRoute createConnectionPool(long connTTL,
                                                                               TimeUnit connTTLTimeUnit)
Overrides:
createConnectionPool in class org.apache.http.impl.conn.tsccm.ThreadSafeClientConnManager


Copyright © 2012. All Rights Reserved.