Class KeyAffinityServiceFactory

java.lang.Object
org.infinispan.affinity.KeyAffinityServiceFactory

public class KeyAffinityServiceFactory extends Object
Factory for KeyAffinityService. Services build by this factory have the following characteristics:
  • are run asynchronously by a thread that can be plugged through an ExecutorFactory
  • for key generation, the ConsistentHash function of a distributed cache is used. Service does not make sense for replicated caches.
  • for each address cluster member (identified by an Address member, a fixed number of keys is generated
Since:
4.1
Author:
Mircea.Markus@jboss.com
See Also: