Package org.wildfly.clustering.infinispan.affinity.impl
-
Interface Summary Interface Description KeyRegistry<K> A registry of keys with affinity to a given address. -
Class Summary Class Description ConsistentHashKeyRegistry<K> Registry of queues of keys with affinity to the members of a consistent hash.DefaultKeyAffinityService<K> A custom key affinity service implementation with the following distinct characteristics (as compared toKeyAffinityServiceImpl):DefaultKeyAffinityService.getKeyForAddress(Address)will return a random key (instead of throwing an ISE) if the specified address does not own any segments. Uses a worker thread per address for which to generate keys. Minimal CPU utilization when key queues are full. Non-blocking topology change event handler.DefaultKeyAffinityService.getKeyForAddress(Address)calls will not block during topology change events.DefaultKeyAffinityServiceFactory Factory for aKeyAffinityServicewhose implementation varies depending on cache mode.SimpleKeyAffinityService<K> SimpleKeyAffinityServiceimplementation for use when co-location is not a requirement.