Interface BiStatsConsumer


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

      • 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)