Package | Description |
---|---|
org.jboss.as.clustering.singleton | |
org.jboss.as.clustering.singleton.election |
Modifier and Type | Method and Description |
---|---|
void |
SingletonService.setElectionPolicy(SingletonElectionPolicy electionPolicy) |
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 |
SimpleSingletonElectionPolicy
A simple concrete policy service that decides which node in the cluster should be the master node to run certain HASingleton
service based on attribute "Position".
|
Constructor and Description |
---|
PreferredSingletonElectionPolicy(Preference preference,
SingletonElectionPolicy policy) |
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All rights reserved.