K - key typeV - value typepublic class LocalRegistry<K,V> extends Object implements org.wildfly.clustering.registry.Registry<K,V>
Registry implementation.| Constructor and Description |
|---|
LocalRegistry(org.wildfly.clustering.group.Group group,
Map.Entry<K,V> entry,
Runnable closeTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
Map<K,V> |
getEntries() |
Map.Entry<K,V> |
getEntry(org.wildfly.clustering.group.Node node) |
org.wildfly.clustering.group.Group |
getGroup() |
org.wildfly.clustering.Registration |
register(org.wildfly.clustering.registry.RegistryListener<K,V> object) |
public org.wildfly.clustering.group.Group getGroup()
public org.wildfly.clustering.Registration register(org.wildfly.clustering.registry.RegistryListener<K,V> object)
public void close()
close in interface AutoCloseableclose in interface org.wildfly.clustering.registry.Registry<K,V>Copyright © 2020 JBoss by Red Hat. All rights reserved.