Class StrongCounterKey

java.lang.Object
org.infinispan.counter.impl.strong.StrongCounterKey
All Implemented Interfaces:
CounterKey

@ProtoTypeId(126) public class StrongCounterKey extends Object implements CounterKey
The key to store in the Cache used by StrongCounter.
Since:
9.0
Author:
Pedro Ruivo
See Also:
  • StrongCounter
  • Method Details

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getCounterName

      @ProtoField(1) public org.infinispan.util.ByteString getCounterName()
      Specified by:
      getCounterName in interface CounterKey
      Returns:
      The counter name.