public class SiddhiThroughputMetric extends Object implements ThroughputTracker
| Constructor and Description |
|---|
SiddhiThroughputMetric(String name,
com.codahale.metrics.MetricRegistry metricRegistry) |
| Modifier and Type | Method and Description |
|---|---|
void |
eventIn()
This method is to notify receive of events to calculate the throughput
|
void |
eventsIn(int eventCount)
This method is to notify receive of events to calculate the throughput
|
String |
getName() |
public SiddhiThroughputMetric(String name, com.codahale.metrics.MetricRegistry metricRegistry)
public void eventIn()
eventIn in interface ThroughputTrackerpublic void eventsIn(int eventCount)
eventsIn in interface ThroughputTrackereventCount - events passed throughpublic String getName()
getName in interface ThroughputTrackerCopyright © 2017 WSO2. All rights reserved.