Package org.apache.synapse.transport.nhttp.util

# Class LatencyCollector

java.lang.Object
org.apache.synapse.transport.nhttp.util.LatencyCollector

public class LatencyCollector extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `LatencyCollector(org.apache.http.protocol.HttpContext context, boolean isS2S)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static void`
  `clearTimestamps(org.apache.http.protocol.HttpContext context)`
  `long`
  `getBackendLatency()`
  `long`
  `getClientDecodeLatency()`
  `long`
  `getClientEncodeLatency()`
  `long`
  `getClientWorkerLatency()`
  `long`
  `getClientWorkerQueuedTime()`
  `long`
  `getLatency()`
  `long`
  `getServerDecodeLatency()`
  `long`
  `getServerEncodeLatency()`
  `long`
  `getServerWorkerLatency()`
  `long`
  `getServerWorkerQueuedTime()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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)