public class ConnectionPoolSegment.Stats
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
long |
getActiveTimeoutCount()
Gets the count of connections closed when active limit is reached.
|
long |
getConnectionCount()
Gets the connection count.
|
long |
getCumulativeActiveTimeMillis()
Gets the cumulative time this segment has been active.
|
long |
getFailedConnectionErrorCount()
Gets the count of failed connection errors.
|
long |
getLastActivatedTime()
Gets the time this segment was last activated.
|
long |
getLastDeactivateTime()
Gets the last time this segment was deactivated.
|
java.util.Map<java.lang.String,Metric> |
getMetrics() |
java.lang.String |
getSegmentName()
Gets the name of the segment.
|
double |
getUptimeActiveFraction()
Gets the fraction of the total uptime this segment has been active.
|
boolean |
isActive()
Determines if this segment is currently active.
|
public java.util.Map<java.lang.String,Metric> getMetrics()
public java.lang.String getSegmentName()
public long getConnectionCount()
public long getFailedConnectionErrorCount()
public long getActiveTimeoutCount()
public long getLastActivatedTime()
public long getCumulativeActiveTimeMillis()
public long getLastDeactivateTime()
public boolean isActive()
public final double getUptimeActiveFraction()