| Interface | Description |
|---|---|
| KeyAffinityServiceFactory |
Factory for creating a key affinity service.
|
| KeyRegistry<K> |
A registry of keys with affinity to a given address.
|
| 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 to
org.infinispan.affinity.impl.KeyAffinityServiceImpl):
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 a
KeyAffinityService whose implementation varies depending on cache mode. |
| SimpleKeyAffinityService<K> |
Simple
KeyAffinityService implementation for use when co-location is not a requirement. |
Copyright © 2023 JBoss by Red Hat. All rights reserved.