Class AffinityIdentifierFactory<I>
java.lang.Object
org.wildfly.clustering.server.infinispan.manager.AffinityIdentifierFactory<I>
- Type Parameters:
I- the identifier type
- All Implemented Interfaces:
Supplier<I>,org.infinispan.affinity.KeyGenerator<Key<I>>,IdentifierFactory<I>,Service
public class AffinityIdentifierFactory<I>
extends Object
implements IdentifierFactory<I>, org.infinispan.affinity.KeyGenerator<Key<I>>
An
IdentifierFactory that uses a KeyAffinityService to pre-generate locally hashing identifiers from a supplier.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionAffinityIdentifierFactory(Supplier<I> factory, org.infinispan.Cache<? extends Key<I>, ?> cache) -
Method Summary
-
Constructor Details
-
AffinityIdentifierFactory
-
-
Method Details
-
get
-
getKey
-
start
-
stop
-