public interface KeyAffinityServiceFactory
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.
|
<K> org.infinispan.affinity.KeyAffinityService<K> createService(org.infinispan.Cache<K,?> cache, org.infinispan.affinity.KeyGenerator<K> generator)
cache
- generator
- Copyright © 2017 JBoss by Red Hat. All rights reserved.