Package org.wildfly.clustering.singleton
Interface SingletonState
- All Superinterfaces:
SingletonStatus
An immutable snapshot of the state of a singleton.
- Author:
- Paul Ferraro
-
Method Summary
Methods inherited from interface org.wildfly.clustering.singleton.SingletonStatus
isPrimaryProvider
-
Method Details
-
getPrimaryProvider
Optional<org.wildfly.clustering.server.GroupMember> getPrimaryProvider()Returns the primary provider of the singleton, if one is present.- Returns:
- the primary provider of the singleton when present
-
getProviders
Set<org.wildfly.clustering.server.GroupMember> getProviders()Returns the set of members that provide the singleton, including the primary provider.- Returns:
- a set of cluster members
-