Class HotRodCounterEvent

  • All Implemented Interfaces:
    org.infinispan.counter.api.CounterEvent

    public class HotRodCounterEvent
    extends Object
    implements org.infinispan.counter.api.CounterEvent
    A CounterEvent implementation for the Hot Rod client.
    Since:
    9.2
    Author:
    Pedro Ruivo
    • Constructor Detail

      • HotRodCounterEvent

        public HotRodCounterEvent​(byte[] listenerId,
                                  String counterName,
                                  long oldValue,
                                  org.infinispan.counter.api.CounterState oldState,
                                  long newValue,
                                  org.infinispan.counter.api.CounterState newState)
    • Method Detail

      • getListenerId

        public byte[] getListenerId()
      • getCounterName

        public String getCounterName()
      • getOldValue

        public long getOldValue()
        Specified by:
        getOldValue in interface org.infinispan.counter.api.CounterEvent
      • getOldState

        public org.infinispan.counter.api.CounterState getOldState()
        Specified by:
        getOldState in interface org.infinispan.counter.api.CounterEvent
      • getNewValue

        public long getNewValue()
        Specified by:
        getNewValue in interface org.infinispan.counter.api.CounterEvent
      • getNewState

        public org.infinispan.counter.api.CounterState getNewState()
        Specified by:
        getNewState in interface org.infinispan.counter.api.CounterEvent