Package org.infinispan.counter.api
Interface CounterEvent
- All Known Implementing Classes:
HotRodCounterEvent
public interface CounterEvent
The event used by
CounterListener
.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
-
Method Details
-
getOldValue
long getOldValue()- Returns:
- the previous value.
-
getOldState
CounterState getOldState()- Returns:
- the previous state.
-
getNewValue
long getNewValue()- Returns:
- the counter value.
-
getNewState
CounterState getNewState()- Returns:
- the counter state.
-