Interface TriStatsConsumer
-
public interface TriStatsConsumer
FunctionalInterface
to consume Metric Stats for create/upsert operation
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(MeterStats meterStats1, MeterStats meterStats2, TimerStats timerStats, List<String> ids, long tTN)
To consume stats for given operation
-
-
-
Method Detail
-
accept
void accept(MeterStats meterStats1, MeterStats meterStats2, TimerStats timerStats, List<String> ids, long tTN)
To consume stats for given operation- Parameters:
meterStats1
- Instance ofMeterStats
, to collect occurrence of operationmeterStats2
- Instance ofMeterStats
, to collect occurrence of operationtimerStats
- Instance ofTimerStats
, to record operation durationids
- Ids of nodes updated/created during operationtTN
- time taken to perform the operation (in nanos)
-
-