public static class ConnectionPool.Stats
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.TimeUnit |
getAcquisitionRateUnit()
Gets the ("per") unit for acquisition rates.
|
int |
getActiveConnections()
Gets the number of connections that are currently active.
|
float |
getActiveConnectionUtilization()
Gets the fraction of connections in active segments being used.
|
int |
getActiveSegments()
Gets the number of active segments.
|
long |
getActiveTimeoutCount()
Gets the count of connections closed when active limit is reached.
|
long |
getActiveUnmanagedConnectionCount()
Gets the number of active unmanaged connections.
|
int |
getAvailableConnections()
Gets the number of connections that are currently available.
|
float |
getAvailableConnectionUtilization()
Gets the fraction of connections in all segments (active + reserve) being used.
|
long |
getConnectionCount()
Gets the connection count.
|
java.lang.String |
getConnectionDescription()
Gets a description of the database connections configured for the pool.
|
long |
getFailedAcquisitionCount()
Gets the count of failed acquisitions.
|
long |
getFailedConnectionErrorCount()
Gets the count of failed connection errors.
|
double |
getFifteenMinuteAcquisitionRate()
Gets the fifteen minute connection acquisition rate.
|
double |
getFifteenMinuteFailedAcquisitionRate()
Gets the fifteen minute acquisition failure rate.
|
double |
getFiveMinuteAcquisitionRate()
Gets the five minute connection acquisition rate.
|
double |
getFiveMinuteFailedAcquisitionRate()
Gets the five minute acquisition failure rate.
|
int |
getMaxConnections()
Gets the maximum number of connections.
|
java.lang.String |
getName()
Gets the name of the pool.
|
double |
getOneMinuteAcquisitionRate()
Gets the one minute connection acquisition rate.
|
double |
getOneMinuteFailedAcquisitionRate()
Gets the one minute acquisition failure rate.
|
long |
getSegmentExpansionCount()
Gets the number of times the pool has expanded the number of active segments.
|
long |
getTimestamp()
Gets the timestamp when these stats were recorded.
|
public java.lang.String getName()
public java.lang.String getConnectionDescription()
public float getActiveConnectionUtilization()
public float getAvailableConnectionUtilization()
public int getActiveConnections()
public int getAvailableConnections()
public int getMaxConnections()
public long getTimestamp()
public long getConnectionCount()
public long getFailedConnectionErrorCount()
public long getActiveTimeoutCount()
public long getFailedAcquisitionCount()
public long getSegmentExpansionCount()
public long getActiveUnmanagedConnectionCount()
public int getActiveSegments()
public java.util.concurrent.TimeUnit getAcquisitionRateUnit()
public double getOneMinuteAcquisitionRate()
public double getFiveMinuteAcquisitionRate()
public double getFifteenMinuteAcquisitionRate()
public double getOneMinuteFailedAcquisitionRate()
public double getFiveMinuteFailedAcquisitionRate()
public double getFifteenMinuteFailedAcquisitionRate()