Package org.infinispan.counter.api
Interface CounterEvent
-
public interface CounterEvent
The event used byCounterListener
.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CounterState
getNewState()
long
getNewValue()
CounterState
getOldState()
long
getOldValue()
-
-
-
Method Detail
-
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.
-
-