public class DefaultKeyAffinityServiceFactory extends Object implements KeyAffinityServiceFactory
KeyAffinityService whose implementation varies depending on cache mode.| Constructor and Description |
|---|
DefaultKeyAffinityServiceFactory(ExecutorService executor,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
<K> org.infinispan.affinity.KeyAffinityService<K> |
createService(org.infinispan.Cache<K,?> cache,
org.infinispan.affinity.KeyGenerator<K> generator)
Creates a key affinity service for use with the specified cache, that generates key using the specified generator.
|
public DefaultKeyAffinityServiceFactory(ExecutorService executor, int bufferSize)
public <K> org.infinispan.affinity.KeyAffinityService<K> createService(org.infinispan.Cache<K,?> cache,
org.infinispan.affinity.KeyGenerator<K> generator)
KeyAffinityServiceFactorycreateService in interface KeyAffinityServiceFactoryCopyright © 2021 JBoss by Red Hat. All rights reserved.