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 ThroughputTracker
public void eventsIn(int eventCount)
eventsIn
in interface ThroughputTracker
eventCount
- events passed throughpublic String getName()
getName
in interface ThroughputTracker
Copyright © 2019. All rights reserved.