Interface ThroughputTracker

  • All Known Implementing Classes:
    SiddhiThroughputMetric

    public interface ThroughputTracker
    This interface will have the necessary methods to calculate the throughput.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void eventIn()
      This method is to notify receive of an event to calculate the throughput
      void eventsIn​(int eventCount)
      This method is to notify receive of multiple events to calculate the throughput
      String getName()  
    • Method Detail

      • eventIn

        void eventIn()
        This method is to notify receive of an event to calculate the throughput
      • eventsIn

        void eventsIn​(int eventCount)
        This method is to notify receive of multiple events to calculate the throughput
        Parameters:
        eventCount - number of events passing through
      • getName

        String getName()
        Returns:
        Name of the memory usage tracker