org.apache.http.impl.client
Class FutureRequestExecutionMetrics
java.lang.Object
org.apache.http.impl.client.FutureRequestExecutionMetrics
public final class FutureRequestExecutionMetrics
- extends Object
Collection of different counters used to gather metrics for FutureRequestExecutionService
.
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 String toString()
- Overrides:
toString
in class Object
Copyright © 1999–2019 The Apache Software Foundation. All rights reserved.