Package org.apache.pinot.spi.metrics
Interface PinotMeter
-
- All Superinterfaces:
PinotMetered,PinotMetric
public interface PinotMeter extends PinotMetered
A meter metric which measures mean throughput and one-, five-, and fifteen-minute exponentially-weighted moving average throughput.- See Also:
- EMA
-
-
Method Summary
-
Methods inherited from interface org.apache.pinot.spi.metrics.PinotMetered
eventType, fifteenMinuteRate, fiveMinuteRate, getMetered, meanRate, oneMinuteRate, rateUnit
-
Methods inherited from interface org.apache.pinot.spi.metrics.PinotMetric
getMetric
-
-
-
-
Method Detail
-
mark
void mark()
Mark the occurrence of an event.
-
mark
void mark(long unitCount)
Mark the occurrence of a given number of events.- Parameters:
unitCount- the number of events
-
count
long count()
Returns the number of events which have been marked.- Specified by:
countin interfacePinotMetered- Returns:
- the number of events which have been marked
-
-