Package com.aitusoftware.aether.event
Class ConsolePrinter
- java.lang.Object
-
- com.aitusoftware.aether.event.ConsolePrinter
-
- All Implemented Interfaces:
CounterSnapshotListener
public final class ConsolePrinter extends java.lang.Object implements CounterSnapshotListener
-
-
Constructor Summary
Constructors Constructor Description ConsolePrinter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonSnapshot(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.
-
-
-
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:CounterSnapshotListenerCalled when a complete snapshot of the counters has been built.- Specified by:
onSnapshotin interfaceCounterSnapshotListener- Parameters:
label- label of the MediaDrivertimestamp- timestamp of the snapshotpublisherCounters- counters describing publisher statesubscriberCounters- counters describing subscriber statesystemCounters- counters describing system state
-
-