public class HotRodCounterEvent extends Object implements CounterEvent
CounterEvent
implementation for the Hot Rod client.Constructor and Description |
---|
HotRodCounterEvent(byte[] listenerId,
String counterName,
long oldValue,
CounterState oldState,
long newValue,
CounterState newState) |
Modifier and Type | Method and Description |
---|---|
String |
getCounterName() |
byte[] |
getListenerId() |
CounterState |
getNewState() |
long |
getNewValue() |
CounterState |
getOldState() |
long |
getOldValue() |
String |
toString() |
public HotRodCounterEvent(byte[] listenerId, String counterName, long oldValue, CounterState oldState, long newValue, CounterState newState)
public byte[] getListenerId()
public String getCounterName()
public long getOldValue()
getOldValue
in interface CounterEvent
public CounterState getOldState()
getOldState
in interface CounterEvent
public long getNewValue()
getNewValue
in interface CounterEvent
public CounterState getNewState()
getNewState
in interface CounterEvent
Copyright © 2021 JBoss by Red Hat. All rights reserved.