Class LocalRegistry<K,V>

java.lang.Object
org.wildfly.clustering.server.local.registry.LocalRegistry<K,V>
Type Parameters:
K - the registry key type
V - the registry value type
All Implemented Interfaces:
AutoCloseable, Function<Map.Entry<K,V>,Map<K,V>>, org.wildfly.clustering.server.Registrar<org.wildfly.clustering.server.registry.RegistryListener<K,V>>, org.wildfly.clustering.server.Registration, org.wildfly.clustering.server.registry.Registry<LocalGroupMember,K,V>

public class LocalRegistry<K,V> extends Object implements org.wildfly.clustering.server.registry.Registry<LocalGroupMember,K,V>, Function<Map.Entry<K,V>,Map<K,V>>
Local Registry.
Author:
Paul Ferraro
  • Constructor Details

  • Method Details

    • register

      public org.wildfly.clustering.server.Registration register(org.wildfly.clustering.server.registry.RegistryListener<K,V> object)
      Specified by:
      register in interface org.wildfly.clustering.server.Registrar<K>
    • getGroup

      public LocalGroup getGroup()
      Specified by:
      getGroup in interface org.wildfly.clustering.server.registry.Registry<LocalGroupMember,K,V>
    • getEntries

      public Map<K,V> getEntries()
      Specified by:
      getEntries in interface org.wildfly.clustering.server.registry.Registry<LocalGroupMember,K,V>
    • getEntry

      public Map.Entry<K,V> getEntry(LocalGroupMember member)
      Specified by:
      getEntry in interface org.wildfly.clustering.server.registry.Registry<LocalGroupMember,K,V>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface org.wildfly.clustering.server.Registration
    • apply

      public Map<K,V> apply(Map.Entry<K,V> entry)
      Specified by:
      apply in interface Function<K,V>