Interface LatencyTracker

  • All Known Implementing Classes:
    SiddhiLatencyMetric

    public interface LatencyTracker
    Calculates the process latency. markIn and markOut is used to denote start and end of processing events respectively. Latency is the time gap between markIn and markOut calls of given thread.
    • Method Detail

      • markIn

        void markIn()
        This is to be called when starting the latency calculation
      • markOut

        void markOut()
        This is to be called when latency calculation should be stopped
      • getName

        String getName()
        Returns:
        Name of the latency tracker