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

## Class LatencyParameter

- java.lang.Object
- - org.apache.synapse.transport.nhttp.util.LatencyParameter

-     public class LatencyParameter
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LatencyParameter​(boolean enabled)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `double` | `getAllTimeAverage()` |
    `double` | `getAverageLatency15m()` |
    `double` | `getAverageLatency1h()` |
    `double` | `getAverageLatency1m()` |
    `double` | `getAverageLatency24h()` |
    `double` | `getAverageLatency5m()` |
    `double` | `getAverageLatency8h()` |
    `long` | `getLatency()` |
    `void` | `reset()` |
    `void` | `update​(long value)` |
    `void` | `updateCache()` |
    `void` | `updateLongTermCache()` |

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

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

- - ### Constructor Detail

    - #### LatencyParameter

          public LatencyParameter​(boolean enabled)

  - ### Method Detail

    - #### reset

          public void reset()

    - #### getLatency

          public long getLatency()

    - #### getAllTimeAverage

          public double getAllTimeAverage()

    - #### updateCache

          public void updateCache()

    - #### update

          public void update​(long value)

    - #### updateLongTermCache

          public void updateLongTermCache()

    - #### getAverageLatency15m

          public double getAverageLatency15m()

    - #### getAverageLatency5m

          public double getAverageLatency5m()

    - #### getAverageLatency1m

          public double getAverageLatency1m()

    - #### getAverageLatency24h

          public double getAverageLatency24h()

    - #### getAverageLatency8h

          public double getAverageLatency8h()

    - #### getAverageLatency1h

          public double getAverageLatency1h()