Uses of Interface
org.infinispan.affinity.KeyGenerator
Packages that use KeyGenerator
Package
Description
This package contains the
KeyAffinityService interfaces which allow user code to determine mapping of keys onto nodes-
Uses of KeyGenerator in org.infinispan.affinity
Methods in org.infinispan.affinity with parameters of type KeyGeneratorModifier and TypeMethodDescriptionstatic <K,V> KeyAffinityService<K> KeyAffinityServiceFactory.newKeyAffinityService(Cache<K, V> cache, Collection<Address> filter, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize) static <K,V> KeyAffinityService<K> KeyAffinityServiceFactory.newKeyAffinityService(Cache<K, V> cache, Collection<Address> filter, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize, boolean start) Creates a service that would only generate keys for addresses specified in filter.static <K,V> KeyAffinityService<K> KeyAffinityServiceFactory.newKeyAffinityService(Cache<K, V> cache, Executor ex, KeyGenerator<K> keyGenerator, int keyBufferSize) static <K,V> KeyAffinityService<K> KeyAffinityServiceFactory.newKeyAffinityService(Cache<K, V> cache, Executor ex, KeyGenerator<K> keyGenerator, int keyBufferSize, boolean start) Creates anKeyAffinityServiceinstance that generates keys mapped to all addresses in the cluster.static <K,V> KeyAffinityService<K> KeyAffinityServiceFactory.newLocalKeyAffinityService(Cache<K, V> cache, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize) static <K,V> KeyAffinityService<K> KeyAffinityServiceFactory.newLocalKeyAffinityService(Cache<K, V> cache, KeyGenerator<K> keyGenerator, Executor ex, int keyBufferSize, boolean start) Created an service that only generates keys for the local address. -
Uses of KeyGenerator in org.infinispan.affinity.impl
Classes in org.infinispan.affinity.impl that implement KeyGeneratorModifier and TypeClassDescriptionclassKey provider that relies onRandom's distribution to generate keys.Constructors in org.infinispan.affinity.impl with parameters of type KeyGeneratorModifierConstructorDescriptionKeyAffinityServiceImpl(Executor executor, Cache<? extends K, ?> cache, KeyGenerator<? extends K> keyGenerator, int bufferSize, Collection<Address> filter, boolean start)