org.jasig.apache.http.impl.conn.jmx
Class ConnPoolControlData<T>
java.lang.Object
org.jasig.apache.http.impl.conn.jmx.ConnPoolControlData<T>
- All Implemented Interfaces:
- ConnPoolControlDataMXBean
public class ConnPoolControlData<T>
- extends Object
- implements ConnPoolControlDataMXBean
Exposes statistics from a PoolingClientConnectionManager
- Author:
- Eric Dalquist
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConnPoolControlData
public ConnPoolControlData()
setConnPoolControl
@Autowired
public void setConnPoolControl(org.apache.http.pool.ConnPoolControl<T> connPoolControl)
setMaxTotal
public void setMaxTotal(int max)
- Specified by:
setMaxTotal in interface ConnPoolControlDataMXBean
getMaxTotal
public int getMaxTotal()
- Specified by:
getMaxTotal in interface ConnPoolControlDataMXBean
setDefaultMaxPerRoute
public void setDefaultMaxPerRoute(int max)
- Specified by:
setDefaultMaxPerRoute in interface ConnPoolControlDataMXBean
getDefaultMaxPerRoute
public int getDefaultMaxPerRoute()
- Specified by:
getDefaultMaxPerRoute in interface ConnPoolControlDataMXBean
getTotalStats
public org.apache.http.pool.PoolStats getTotalStats()
- Specified by:
getTotalStats in interface ConnPoolControlDataMXBean
getLeased
public int getLeased()
- Specified by:
getLeased in interface ConnPoolControlDataMXBean
getPending
public int getPending()
- Specified by:
getPending in interface ConnPoolControlDataMXBean
getAvailable
public int getAvailable()
- Specified by:
getAvailable in interface ConnPoolControlDataMXBean
getMax
public int getMax()
- Specified by:
getMax in interface ConnPoolControlDataMXBean
Copyright © 2013 Jasig. All Rights Reserved.