Class SegmentAwareKey<K>

java.lang.Object
org.infinispan.commons.util.SegmentAwareKey<K>

public class SegmentAwareKey<K> extends Object
Encapsulates the key and its segment.
Since:
12
Author:
Pedro Ruivo
  • Constructor Details

    • SegmentAwareKey

      public SegmentAwareKey(K key, int segment)
  • Method Details

    • getKey

      public K getKey()
    • getSegment

      public int getSegment()
    • 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