public class DefaultKeyAffinityServiceFactory extends Object implements KeyAffinityServiceFactory
KeyAffinityService whose implementation varies depending on cache mode.| Constructor and Description |
|---|
DefaultKeyAffinityServiceFactory() |
| Modifier and Type | Method and Description |
|---|---|
<K> org.infinispan.affinity.KeyAffinityService<K> |
createService(org.infinispan.Cache<? extends K,?> cache,
org.infinispan.affinity.KeyGenerator<K> generator,
Predicate<org.infinispan.remoting.transport.Address> filter)
Creates a key affinity service for use with the specified cache, that generates key for members matching the specified filter, using the specified generator.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateServicepublic <K> org.infinispan.affinity.KeyAffinityService<K> createService(org.infinispan.Cache<? extends K,?> cache,
org.infinispan.affinity.KeyGenerator<K> generator,
Predicate<org.infinispan.remoting.transport.Address> filter)
KeyAffinityServiceFactorycreateService in interface KeyAffinityServiceFactoryCopyright © 2022 JBoss by Red Hat. All rights reserved.