Class NaryGroupMemberAffinity<I>
java.lang.Object
org.wildfly.clustering.server.infinispan.affinity.NaryGroupMemberAffinity<I>
- Type Parameters:
I- the identifier type of a cache key
- All Implemented Interfaces:
Function<I, List<CacheContainerGroupMember>>, org.wildfly.clustering.function.Function<I, List<CacheContainerGroupMember>>
public class NaryGroupMemberAffinity<I>
extends Object
implements org.wildfly.clustering.function.Function<I, List<CacheContainerGroupMember>>
Returns a list of group members that own cache keys for a given identifier.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.function.Function
IDENTITY, NULL -
Constructor Summary
ConstructorsConstructorDescriptionNaryGroupMemberAffinity(org.infinispan.Cache<?, ?> cache, CacheContainerGroup group) Creates a group member affinity function returning multiple values. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.function.Function
andThen, compose, compose, handle, optional, orDefault, withDefault, withMonitor
-
Constructor Details
-
NaryGroupMemberAffinity
Creates a group member affinity function returning multiple values.- Parameters:
cache- an embedded cachegroup- the cache container group
-
-
Method Details
-
apply
- Specified by:
applyin interfaceFunction<I, List<CacheContainerGroupMember>>
-