Interface BiStatsConsumer


public interface BiStatsConsumer
FunctionalInterface to consume Metric Stats for update/remove operation
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    accept(MeterStats meterStats, TimerStats timerStats, long c, long tTN)
    To consume stats for given operation
  • Method Details

    • accept

      void accept(MeterStats meterStats, TimerStats timerStats, long c, long tTN)
      To consume stats for given operation
      Parameters:
      meterStats - Instance of MeterStats, to collect occurrence of operation
      timerStats - Instance of TimerStats, to record operation duration
      c - count of updated ids
      tTN - time taken to perform the operation (in nanos)