Class NarySessionAffinity<M extends GroupMember>
java.lang.Object
org.wildfly.clustering.session.cache.affinity.NarySessionAffinity<M>
- Type Parameters:
M- the group member type
- All Implemented Interfaces:
Function<String,String>, UnaryOperator<String>, Function<String, String>, UnaryOperator<String>
public class NarySessionAffinity<M extends GroupMember>
extends Object
implements UnaryOperator<String>
Session affinity to multiple members.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface UnaryOperator
IDENTITY, NULL -
Constructor Summary
ConstructorsConstructorDescriptionNarySessionAffinity(Function<String, List<M>> affinity, Function<M, String> mapper, NarySessionAffinityConfiguration config) Creates an affinity to multiple members. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface UnaryOperator
andThen, compose, handle, orDefault, withDefault
-
Constructor Details
-
NarySessionAffinity
-
-
Method Details
-
apply
-