CounterValueListenerpublic final class CounterEventHandler extends java.lang.Object implements CounterValueListener
| Constructor | Description |
|---|---|
CounterEventHandler(CounterRepository<PublisherCounterSet> publisherCounterRepository,
CounterRepository<SubscriberCounterSet> subscriberCounterRepository,
CounterSnapshotListener counterSnapshotListener,
org.agrona.concurrent.EpochClock epochClock) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
onCounterEvent(int counterId,
int counterTypeId,
java.lang.CharSequence channel,
int sessionId,
int streamId,
long registrationId,
long value) |
|
void |
onEndOfBatch(java.lang.String label) |
public CounterEventHandler(CounterRepository<PublisherCounterSet> publisherCounterRepository, CounterRepository<SubscriberCounterSet> subscriberCounterRepository, CounterSnapshotListener counterSnapshotListener, org.agrona.concurrent.EpochClock epochClock)
public void onCounterEvent(int counterId,
int counterTypeId,
java.lang.CharSequence channel,
int sessionId,
int streamId,
long registrationId,
long value)
onCounterEvent in interface CounterValueListenerpublic void onEndOfBatch(java.lang.String label)
onEndOfBatch in interface CounterValueListener