Class AffinityIdentifierFactoryService<I>
java.lang.Object
org.wildfly.clustering.server.infinispan.manager.AffinityIdentifierFactoryService<I>
- Type Parameters:
I- the identifier type
- All Implemented Interfaces:
Supplier<I>, org.infinispan.affinity.KeyGenerator<Key<I>>, Supplier<I>, IdentifierFactoryService<I>, Service
public class AffinityIdentifierFactoryService<I>
extends Object
implements IdentifierFactoryService<I>, org.infinispan.affinity.KeyGenerator<Key<I>>
An
IdentifierFactoryService that uses a KeyAffinityService to pre-generate locally hashing identifiers from a supplier.- Author:
- Paul Ferraro
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionAffinityIdentifierFactoryService(Supplier<I> factory, org.infinispan.Cache<? extends Key<I>, ?> cache) Creates an affinity identifier factory service. -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Supplier
handle, thenAccept, thenApply, thenApplyAsDouble, thenApplyAsInt, thenApplyAsLong, thenTest
-
Constructor Details
-
AffinityIdentifierFactoryService
-
-
Method Details
-
get
-
getKey
-
isStarted
-
start
-
stop
-