56         String cacheName = cache.getName();
    61         boolean wantsLocalKey = !session.getProvider(StickySessionEncoderProvider.class).shouldAttachRoute();
    63         if (wantsLocalKey && cache.getCacheConfiguration().clustering().cacheMode().isClustered()) {
    65             if (keyAffinityService == null) {
    69                 log.debugf(
"Registered key affinity service for cache '%s'", cacheName);
    72             return keyAffinityService.getKeyForAddress(cache.getCacheManager().getAddress());
    74             return keyGenerator.getKey();
 final Map< String, KeyAffinityService > keyAffinityServices
Definition: InfinispanKeyGenerator.java:42
 
static final Logger log
Definition: InfinispanKeyGenerator.java:39
 
private< K > KeyAffinityService< K > createKeyAffinityService(Cache< K, ?> cache, KeyGenerator< K > keyGenerator)
Definition: InfinispanKeyGenerator.java:80