org.apache.http.impl.client
Class FutureRequestExecutionMetrics
java.lang.Object
org.apache.http.impl.client.FutureRequestExecutionMetrics
public final class FutureRequestExecutionMetrics
- extends java.lang.Object
Collection of different counters used to gather metrics for FutureRequestExecutionService
.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
getActiveConnectionCount
public long getActiveConnectionCount()
getScheduledConnectionCount
public long getScheduledConnectionCount()
getSuccessfulConnectionCount
public long getSuccessfulConnectionCount()
getSuccessfulConnectionAverageDuration
public long getSuccessfulConnectionAverageDuration()
getFailedConnectionCount
public long getFailedConnectionCount()
getFailedConnectionAverageDuration
public long getFailedConnectionAverageDuration()
getRequestCount
public long getRequestCount()
getRequestAverageDuration
public long getRequestAverageDuration()
getTaskCount
public long getTaskCount()
getTaskAverageDuration
public long getTaskAverageDuration()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object