Class LatencyCollector
java.lang.Object
org.apache.synapse.transport.passthru.jmx.LatencyCollector
Class responsible for collect Latency values per request
-
Constructor Summary
ConstructorsConstructorDescriptionLatencyCollector(org.apache.http.protocol.HttpContext context, boolean isS2S) -
Method Summary
Modifier and TypeMethodDescriptionstatic voidclearTimestamps(org.apache.http.protocol.HttpContext context) Clear all timestamps saved.longlonglonglonglonglonglonglonglonglong
-
Constructor Details
-
LatencyCollector
public LatencyCollector(org.apache.http.protocol.HttpContext context, boolean isS2S)
-
-
Method Details
-
getBackendLatency
public long getBackendLatency() -
getLatency
public long getLatency() -
getServerDecodeLatency
public long getServerDecodeLatency() -
getServerEncodeLatency
public long getServerEncodeLatency() -
getClientEncodeLatency
public long getClientEncodeLatency() -
getClientDecodeLatency
public long getClientDecodeLatency() -
getServerWorkerQueuedTime
public long getServerWorkerQueuedTime() -
getClientWorkerQueuedTime
public long getClientWorkerQueuedTime() -
getServerWorkerLatency
public long getServerWorkerLatency() -
getClientWorkerLatency
public long getClientWorkerLatency() -
clearTimestamps
public static void clearTimestamps(org.apache.http.protocol.HttpContext context) Clear all timestamps saved.- Parameters:
context- HttpContext
-