Interface Registry<M extends GroupMember,K,V>

Type Parameters:
K - the type of the registry entry key
V - the type of the registry entry value
All Superinterfaces:
AutoCloseable, Registrar<RegistryListener<K,V>>, Registration

public interface Registry<M extends GroupMember,K,V> extends Registrar<RegistryListener<K,V>>, Registration
Registry of entries specific to a group member.
Author:
Paul Ferraro
  • Field Summary

    Fields inherited from interface org.wildfly.clustering.server.Registration

    EMPTY
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns all registry entries in this group.
    getEntry(M member)
    Returns the registry entry for the specified group member.
    Returns the group associated with this factory.

    Methods inherited from interface org.wildfly.clustering.server.Registrar

    register

    Methods inherited from interface org.wildfly.clustering.server.Registration

    close
  • Method Details

    • getGroup

      Group<M> getGroup()
      Returns the group associated with this factory.
      Returns:
      a group
    • getEntries

      Map<K,V> getEntries()
      Returns all registry entries in this group.
      Returns:
      a map for entries
    • getEntry

      Map.Entry<K,V> getEntry(M member)
      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.