Class ConsolePrinter

    • Constructor Summary

      Constructors 
      Constructor Description
      ConsolePrinter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onSnapshot​(java.lang.String label, long timestamp, java.util.List<PublisherCounterSet> publisherCounters, java.util.List<SubscriberCounterSet> subscriberCounters, SystemCounters systemCounters)
      Called when a complete snapshot of the counters has been built.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConsolePrinter

        public ConsolePrinter()
    • 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