Class HotRodCounterEvent
- java.lang.Object
-
- org.infinispan.hotrod.impl.counter.HotRodCounterEvent
-
- All Implemented Interfaces:
org.infinispan.counter.api.CounterEvent
public class HotRodCounterEvent extends Object implements org.infinispan.counter.api.CounterEvent
ACounterEventimplementation for the Hot Rod client.- Since:
- 14.0
-
-
Constructor Summary
Constructors Constructor Description HotRodCounterEvent(byte[] listenerId, String counterName, long oldValue, org.infinispan.counter.api.CounterState oldState, long newValue, org.infinispan.counter.api.CounterState newState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCounterName()byte[]getListenerId()org.infinispan.counter.api.CounterStategetNewState()longgetNewValue()org.infinispan.counter.api.CounterStategetOldState()longgetOldValue()StringtoString()
-
-
-
Constructor Detail
-
HotRodCounterEvent
public HotRodCounterEvent(byte[] listenerId, String counterName, long oldValue, org.infinispan.counter.api.CounterState oldState, long newValue, org.infinispan.counter.api.CounterState newState)
-
-
Method Detail
-
getListenerId
public byte[] getListenerId()
-
getCounterName
public String getCounterName()
-
getOldValue
public long getOldValue()
- Specified by:
getOldValuein interfaceorg.infinispan.counter.api.CounterEvent
-
getOldState
public org.infinispan.counter.api.CounterState getOldState()
- Specified by:
getOldStatein interfaceorg.infinispan.counter.api.CounterEvent
-
getNewValue
public long getNewValue()
- Specified by:
getNewValuein interfaceorg.infinispan.counter.api.CounterEvent
-
getNewState
public org.infinispan.counter.api.CounterState getNewState()
- Specified by:
getNewStatein interfaceorg.infinispan.counter.api.CounterEvent
-
-