Interface TriStatsConsumer


public interface TriStatsConsumer
FunctionalInterface to consume Metric Stats for create/upsert operation
  • Method Summary

    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 Details

    • accept

      void accept(MeterStats meterStats1, MeterStats meterStats2, TimerStats timerStats, List<String> ids, long tTN)
      To consume stats for given operation
      Parameters:
      meterStats1 - Instance of MeterStats, to collect occurrence of operation
      meterStats2 - Instance of MeterStats, to collect occurrence of operation
      timerStats - Instance of TimerStats, to record operation duration
      ids - Ids of nodes updated/created during operation
      tTN - time taken to perform the operation (in nanos)