Package com.aitusoftware.aether.event
Interface CounterSnapshotListener
-
- All Known Implementing Classes:
ConsolePrinter,CounterSnapshotPublisher,RateMonitor,SystemSnapshot
public interface CounterSnapshotListenerDefines a listener to snapshots of a MediaDriver's counters.
-
-
Method Summary
All Methods Instance Methods Abstract 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
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.- Parameters:
label- label of the MediaDrivertimestamp- timestamp of the snapshotpublisherCounters- counters describing publisher statesubscriberCounters- counters describing subscriber statesystemCounters- counters describing system state
-
-