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>>
@Deprecated(forRemoval=true)
public interface Registry<K,V>
extends Registrar<RegistryListener<K,V>>, AutoCloseable
Deprecated, for removal: This API element is subject to removal in a future version.
Clustered registry abstraction that stores a unique key/value per node.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Deprecated, for removal: This API element is subject to removal in a future version.Removes our entry from the registry.Deprecated, for removal: This API element is subject to removal in a future version.Returns all registry entries in this group.Deprecated, for removal: This API element is subject to removal in a future version.Returns the registry entry for the specified node.getGroup()Deprecated, for removal: This API element is subject to removal in a future version.Returns the group associated with this factory.
-
Method Details
-
getGroup
Group getGroup()Deprecated, for removal: This API element is subject to removal in a future version.Returns the group associated with this factory.- Returns:
- a group
-
getEntries
Deprecated, for removal: This API element is subject to removal in a future version.Returns all registry entries in this group.- Returns:
- a map for entries
-
getEntry
Deprecated, for removal: This API element is subject to removal in a future version.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()Deprecated, for removal: This API element is subject to removal in a future version.Removes our entry from the registry. Once closed, the registry can no longer be accessed.- Specified by:
closein interfaceAutoCloseable
-
Registry.