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 CounterEventpublic CounterState getOldState()
getOldState in interface CounterEventpublic long getNewValue()
getNewValue in interface CounterEventpublic CounterState getNewState()
getNewState in interface CounterEventCopyright © 2022 JBoss by Red Hat. All rights reserved.