Class GroupedKey<K>

  • All Implemented Interfaces:
    org.wildfly.clustering.ee.Key<K>

    public class GroupedKey<K>
    extends Object
    implements org.wildfly.clustering.ee.Key<K>
    An embedded cache key supporting group co-location.
    Author:
    Paul Ferraro
    • Constructor Detail

      • GroupedKey

        public GroupedKey​(K id)
    • Method Detail

      • getId

        public K getId()
        Returns the value of this key.
        Specified by:
        getId in interface org.wildfly.clustering.ee.Key<K>
        Returns:
        the key value
      • getGroup

        public String getGroup()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object