Class RateMonitor

    • Constructor Detail

      • RateMonitor

        public RateMonitor​(java.util.List<RateBucket> rateBuckets)
    • Method Detail

      • onSnapshot

        public void onSnapshot​(java.lang.String label,
                               long timestamp,
                               java.util.List<PublisherCounterSet> publisherCounters,
                               java.util.List<SubscriberCounterSet> subscriberCounters,
                               SystemCounters systemCounters)
        Description copied from interface: CounterSnapshotListener
        Called when a complete snapshot of the counters has been built.
        Specified by:
        onSnapshot in interface CounterSnapshotListener
        Parameters:
        label - label of the MediaDriver
        timestamp - timestamp of the snapshot
        publisherCounters - counters describing publisher state
        subscriberCounters - counters describing subscriber state
        systemCounters - counters describing system state