Package org.wildfly.clustering.registry
Interface Registry<K,V>
- Type Parameters:
K- the type of the registry entry keyV- the type of the registry entry value
- All Superinterfaces:
AutoCloseable,Registrar<RegistryListener<K,V>>
Clustered registry abstraction that stores a unique key/value per node.
- Author:
- Paul Ferraro
-
Method Details
-
getGroup
Group 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 node.- Parameters:
node- a node- Returns:
- the node's registry entry, or null if undefined
-
close
void close()Removes our entry from the registry. Once closed, the registry can no longer be accessed.- Specified by:
closein interfaceAutoCloseable
-