Interface CounterEvent


  • public interface CounterEvent
    The event used by CounterListener.
    Since:
    9.0
    Author:
    Pedro Ruivo
    • 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.