Interface TriStatsConsumer


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

      • accept

        void accept​(MeterStats meterStats1,
                    MeterStats meterStats2,
                    TimerStats timerStats,
                    java.util.List<java.lang.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)