public interface Singleton
Modifier and Type | Method and Description |
---|---|
Node |
getPrimaryProvider()
Returns the current primary provider of the singleton.
|
Set<Node> |
getProviders()
Returns the providers on which the given singleton is available.
|
default boolean |
isMaster()
Deprecated.
Use
isPrimary() instead. |
boolean |
isPrimary()
Indicates whether this node is the primary provider of the singleton.
|
@Deprecated default boolean isMaster()
isPrimary()
instead.boolean isPrimary()
Node getPrimaryProvider()
Copyright © 2020 JBoss by Red Hat. All rights reserved.