Class SiddhiThroughputMetric

    • Constructor Detail

      • SiddhiThroughputMetric

        public SiddhiThroughputMetric​(String name,
                                      com.codahale.metrics.MetricRegistry metricRegistry)
    • Method Detail

      • eventIn

        public void eventIn()
        This method is to notify receive of events to calculate the throughput
        Specified by:
        eventIn in interface ThroughputTracker
      • eventsIn

        public void eventsIn​(int eventCount)
        This method is to notify receive of events to calculate the throughput
        Specified by:
        eventsIn in interface ThroughputTracker
        Parameters:
        eventCount - events passed through