Class YammerTimer
- java.lang.Object
-
- org.apache.pinot.plugin.metrics.yammer.YammerTimer
-
- All Implemented Interfaces:
PinotMetered,PinotMetric,PinotTimer
public class YammerTimer extends Object implements PinotTimer
-
-
Constructor Summary
Constructors Constructor Description YammerTimer(com.yammer.metrics.core.Timer timer)
-
Method Summary
Modifier and Type Method Description longcount()StringeventType()doublefifteenMinuteRate()doublefiveMinuteRate()ObjectgetMetered()ObjectgetMetric()ObjectgetTimer()doublemeanRate()doubleoneMinuteRate()TimeUnitrateUnit()voidupdate(long duration, TimeUnit unit)
-
-
-
Method Detail
-
update
public void update(long duration, TimeUnit unit)- Specified by:
updatein interfacePinotTimer
-
getTimer
public Object getTimer()
- Specified by:
getTimerin interfacePinotTimer
-
getMetered
public Object getMetered()
- Specified by:
getMeteredin interfacePinotMetered
-
getMetric
public Object getMetric()
- Specified by:
getMetricin interfacePinotMetric
-
rateUnit
public TimeUnit rateUnit()
- Specified by:
rateUnitin interfacePinotMetered
-
eventType
public String eventType()
- Specified by:
eventTypein interfacePinotMetered
-
count
public long count()
- Specified by:
countin interfacePinotMetered
-
fifteenMinuteRate
public double fifteenMinuteRate()
- Specified by:
fifteenMinuteRatein interfacePinotMetered
-
fiveMinuteRate
public double fiveMinuteRate()
- Specified by:
fiveMinuteRatein interfacePinotMetered
-
meanRate
public double meanRate()
- Specified by:
meanRatein interfacePinotMetered
-
oneMinuteRate
public double oneMinuteRate()
- Specified by:
oneMinuteRatein interfacePinotMetered
-
-