Class PoolState
java.lang.Object
org.apache.ibatis.datasource.pooled.PoolState
- Author:
- Clinton Begin
-
Field Summary
Modifier and TypeFieldDescriptionprotected long
protected long
protected long
protected long
protected final List
<org.apache.ibatis.datasource.pooled.PooledConnection> protected long
protected long
protected PooledDataSource
protected long
protected final List
<org.apache.ibatis.datasource.pooled.PooledConnection> protected long
-
Constructor Summary
-
Method Summary
-
Field Details
-
dataSource
-
idleConnections
-
activeConnections
-
requestCount
protected long requestCount -
accumulatedRequestTime
protected long accumulatedRequestTime -
accumulatedCheckoutTime
protected long accumulatedCheckoutTime -
claimedOverdueConnectionCount
protected long claimedOverdueConnectionCount -
accumulatedCheckoutTimeOfOverdueConnections
protected long accumulatedCheckoutTimeOfOverdueConnections -
accumulatedWaitTime
protected long accumulatedWaitTime -
hadToWaitCount
protected long hadToWaitCount -
badConnectionCount
protected long badConnectionCount
-
-
Constructor Details
-
PoolState
-
-
Method Details
-
getRequestCount
public long getRequestCount() -
getAverageRequestTime
public long getAverageRequestTime() -
getAverageWaitTime
public long getAverageWaitTime() -
getHadToWaitCount
public long getHadToWaitCount() -
getBadConnectionCount
public long getBadConnectionCount() -
getClaimedOverdueConnectionCount
public long getClaimedOverdueConnectionCount() -
getAverageOverdueCheckoutTime
public long getAverageOverdueCheckoutTime() -
getAverageCheckoutTime
public long getAverageCheckoutTime() -
getIdleConnectionCount
public int getIdleConnectionCount() -
getActiveConnectionCount
public int getActiveConnectionCount() -
toString
-