Class LatencyView

  extended by org.apache.synapse.transport.nhttp.util.LatencyView
All Implemented Interfaces:

public class LatencyView
extends Object
implements LatencyViewMBean

LatencyView provides statistical information related to the latency (overhead) incurred by the Synapse NHTTP transport, when mediating messages back and forth. Statistics are available under two main categories, namely short term data and long term data. Short term data is statistical information related to the last 15 minutes of execution and these metrics are updated every 5 seconds. Long term data is related to the last 24 hours of execution and they are updated every 5 minutes. Two timer tasks and a single threaded scheduled executor is used to perform these periodic calculations.

Latency calculation for a single invocation is carried out by taking timestamps on following events: