Class HotRodCounterEvent
java.lang.Object
org.infinispan.client.hotrod.counter.impl.HotRodCounterEvent
- All Implemented Interfaces:
org.infinispan.counter.api.CounterEvent
A
CounterEvent implementation for the Hot Rod client.- Since:
- 9.2
- Author:
- Pedro Ruivo
-
Constructor Summary
ConstructorsConstructorDescriptionHotRodCounterEvent(byte[] listenerId, String counterName, long oldValue, org.infinispan.counter.api.CounterState oldState, long newValue, org.infinispan.counter.api.CounterState newState) -
Method Summary
Modifier and TypeMethodDescriptionbyte[]org.infinispan.counter.api.CounterStatelongorg.infinispan.counter.api.CounterStatelongtoString()
-
Constructor Details
-
HotRodCounterEvent
public HotRodCounterEvent(byte[] listenerId, String counterName, long oldValue, org.infinispan.counter.api.CounterState oldState, long newValue, org.infinispan.counter.api.CounterState newState)
-
-
Method Details
-
getListenerId
public byte[] getListenerId() -
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
-
toString
-