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.CounterState
long
org.infinispan.counter.api.CounterState
long
toString()
-
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:
getOldValue
in interfaceorg.infinispan.counter.api.CounterEvent
-
getOldState
public org.infinispan.counter.api.CounterState getOldState()- Specified by:
getOldState
in interfaceorg.infinispan.counter.api.CounterEvent
-
getNewValue
public long getNewValue()- Specified by:
getNewValue
in interfaceorg.infinispan.counter.api.CounterEvent
-
getNewState
public org.infinispan.counter.api.CounterState getNewState()- Specified by:
getNewState
in interfaceorg.infinispan.counter.api.CounterEvent
-
toString
-