|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.http.pool.PoolStats
@Contract(threading=IMMUTABLE) public class PoolStats
Pool statistics.
The total number of connections in the pool is equal to available
plus leased
.
Constructor Summary | |
---|---|
PoolStats(int leased,
int pending,
int free,
int max)
|
Method Summary | |
---|---|
int |
getAvailable()
Gets the number idle persistent connections. |
int |
getLeased()
Gets the number of persistent connections tracked by the connection manager currently being used to execute requests. |
int |
getMax()
Gets the maximum number of allowed persistent connections. |
int |
getPending()
Gets the number of connection requests being blocked awaiting a free connection. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PoolStats(int leased, int pending, int free, int max)
Method Detail |
---|
public int getLeased()
The total number of connections in the pool is equal to available
plus leased
.
public int getPending()
public int getAvailable()
The total number of connections in the pool is equal to available
plus leased
.
public int getMax()
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |