Package io.siddhi.core.util.statistics
Interface ThroughputTracker
-
- All Known Implementing Classes:
SiddhiThroughputMetric
public interface ThroughputTrackerThis interface will have the necessary methods to calculate the throughput.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voideventIn()This method is to notify receive of an event to calculate the throughputvoideventsIn(int eventCount)This method is to notify receive of multiple events to calculate the throughputStringgetName()
-
-
-
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
-
-