Package | Description |
---|---|
org.wildfly.clustering.singleton | |
org.wildfly.clustering.singleton.election | |
org.wildfly.clustering.singleton.service |
Modifier and Type | Method and Description |
---|---|
SingletonServiceBuilder<T> |
SingletonServiceBuilder.electionPolicy(SingletonElectionPolicy policy)
Deprecated.
Defines the policy for electing a primary singleton provider.
|
Modifier and Type | Class and Description |
---|---|
class |
PreferredSingletonElectionPolicy
An election policy that always elects a preferred node, and defers to a default policy
if the preferred node is not a candidate.
|
class |
RandomSingletonElectionPolicy
SingletonElectionPolicy that elects a random member. |
class |
SimpleSingletonElectionPolicy
A simple concrete policy service that decides which node in the cluster should be the primary node to run certain HASingleton
service based on attribute "Position".
|
Constructor and Description |
---|
PreferredSingletonElectionPolicy(SingletonElectionPolicy policy,
List<Preference> preferences) |
PreferredSingletonElectionPolicy(SingletonElectionPolicy policy,
Preference... preferences) |
Modifier and Type | Method and Description |
---|---|
SingletonServiceConfigurator |
SingletonServiceConfigurator.electionPolicy(SingletonElectionPolicy policy)
Defines the policy for electing a primary singleton provider.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.