Uses of Interface
org.infinispan.affinity.KeyAffinityService
Package
Description
This package contains the
KeyAffinityService
interfaces which allow user code to determine mapping of keys onto nodes-
Uses of KeyAffinityService in org.infinispan.affinity
Modifier 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 anKeyAffinityService
instance 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 KeyAffinityService in org.infinispan.affinity.impl
Modifier and TypeClassDescriptionclass
Implementation of KeyAffinityService.