Interface BiStatsConsumer
-
public interface BiStatsConsumer
FunctionalInterface
to consume Metric Stats for update/remove operation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(MeterStats meterStats, TimerStats timerStats, long c, long tTN)
To consume stats for given operation
-
-
-
Method Detail
-
accept
void accept(MeterStats meterStats, TimerStats timerStats, long c, long tTN)
To consume stats for given operation- Parameters:
meterStats
- Instance ofMeterStats
, to collect occurrence of operationtimerStats
- Instance ofTimerStats
, to record operation durationc
- count of updated idstTN
- time taken to perform the operation (in nanos)
-
-