Interface SingletonState

All Superinterfaces:
SingletonStatus

public interface SingletonState extends SingletonStatus
An immutable snapshot of the state of a singleton.
Author:
Paul Ferraro
  • Method Details

    • getPrimaryProvider

      Optional<GroupMember> getPrimaryProvider()
      Returns the primary provider of the singleton, if one is present.
      Returns:
      the primary provider of the singleton when present
    • getProviders

      Set<GroupMember> getProviders()
      Returns the set of members that provide the singleton, including the primary provider.
      Returns:
      a set of cluster members