Class KeyAffinityServiceImpl<K>

  • All Implemented Interfaces:
    KeyAffinityService<K>, Lifecycle

    @Deprecated
    public class KeyAffinityServiceImpl<K>
    extends org.infinispan.affinity.impl.KeyAffinityServiceImpl<K>
    Deprecated.
    Extend from KeyAffinityServiceImpl instead. This class will be removed in the future.
    • Field Summary

      • Fields inherited from class org.infinispan.affinity.impl.KeyAffinityServiceImpl

        THRESHOLD
    • Method Summary

      • Methods inherited from class org.infinispan.affinity.impl.KeyAffinityServiceImpl

        getAddress2KeysMapping, getCollocatedKey, getKeyForAddress, getMaxNumberOfKeys, handleCacheStopped, handleViewChange, isKeyGeneratorThreadActive, isKeyGeneratorThreadAlive, isStarted, start, stop
    • Constructor Detail

      • KeyAffinityServiceImpl

        public KeyAffinityServiceImpl​(Executor executor,
                                      Cache<? extends K,​?> cache,
                                      KeyGenerator<? extends K> keyGenerator,
                                      int bufferSize,
                                      Collection<Address> filter,
                                      boolean start)
        Deprecated.