Class PrimaryOwnerLocator<K>

  • All Implemented Interfaces:
    Function<K,​org.wildfly.clustering.group.Node>

    public class PrimaryOwnerLocator<K>
    extends Object
    implements Function<K,​org.wildfly.clustering.group.Node>
    Function that returns the primary owner for a given cache key.
    Author:
    Paul Ferraro
    • Constructor Detail

      • PrimaryOwnerLocator

        public PrimaryOwnerLocator​(org.infinispan.Cache<? extends K,​?> cache,
                                   NodeFactory<org.infinispan.remoting.transport.Address> memberFactory)
    • Method Detail

      • apply

        public org.wildfly.clustering.group.Node apply​(K key)
        Specified by:
        apply in interface Function<K,​org.wildfly.clustering.group.Node>