Skip navigation links
org.infinispan.distribution.group

Interface Grouper<T>

    • Method Detail

      • computeGroup

        default java.lang.Object computeGroup(T key,
                                              java.lang.Object group)
        Compute the group for a given key
        Parameters:
        key - the key to compute the group for
        group - the group as currently computed, or null if no group has been determined yet
        Returns:
        the group, or null if no group is defined
      • computeGroup

        @Deprecated
        default java.lang.String computeGroup(T key,
                                                          java.lang.String group)
        Deprecated. Since 9.1
      • getKeyType

        java.lang.Class<T> getKeyType()