Interface Registry<M extends GroupMember,K,V>
- Type Parameters:
M- the member typeK- the type of the registry entry keyV- the type of the registry entry value
- All Superinterfaces:
AutoCloseable,Registrar<RegistryListener<K,V>>
public interface Registry<M extends GroupMember,K,V>
extends Registrar<RegistryListener<K,V>>, AutoCloseable
Registry of entries specific to a group member.
- Author:
- Paul Ferraro
-
Method Summary
-
Method Details
-
getGroup
Returns the group associated with this factory.- Returns:
- a group
-
getEntries
Returns all registry entries in this group.- Returns:
- a map for entries
-
getEntry
Returns the registry entry for the specified group member.- Parameters:
member- a group member- Returns:
- the registry entry of the specified group member, or null if undefined.
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-