Package 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 forFutureRequestExecutionService
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getActiveConnectionCount()
long
getFailedConnectionAverageDuration()
long
getFailedConnectionCount()
long
getRequestAverageDuration()
long
getRequestCount()
long
getScheduledConnectionCount()
long
getSuccessfulConnectionAverageDuration()
long
getSuccessfulConnectionCount()
long
getTaskAverageDuration()
long
getTaskCount()
java.lang.String
toString()
-
-
-
Method Detail
-
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 classjava.lang.Object
-
-