Interface KeyRegistry<K>
- All Known Implementing Classes:
ConsistentHashKeyRegistry
public interface KeyRegistry<K>
A registry of keys with affinity to a given address.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
getAddresses
Set<org.infinispan.remoting.transport.Address> getAddresses()Returns the addresses for which pre-generated keys are available.- Returns:
- a set of cluster members
-
getKeys
Returns a queue of pre-generated keys with affinity for the specified address.- Parameters:
address- the address of a cluster member.- Returns:
- a queue of pre-generated keys
-