Class CounterEventImpl
java.lang.Object
org.infinispan.counter.impl.listener.CounterEventImpl
- All Implemented Interfaces:
org.infinispan.counter.api.CounterEvent
The
CounterEvent implementation.- Since:
- 9.0
- Author:
- Pedro Ruivo
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.infinispan.counter.api.CounterEventcreate(long oldValue, long newValue) static org.infinispan.counter.api.CounterEventcreate(CounterValue oldValue, CounterValue newValue) booleanorg.infinispan.counter.api.CounterStatelongorg.infinispan.counter.api.CounterStatelonginthashCode()toString()
-
Method Details
-
create
public static org.infinispan.counter.api.CounterEvent create(long oldValue, long newValue) -
create
public static org.infinispan.counter.api.CounterEvent create(CounterValue oldValue, CounterValue newValue) -
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
-
equals
-
hashCode
public int hashCode()
-