Package | Description |
---|---|
org.wildfly.clustering.singleton |
Modifier and Type | Method and Description |
---|---|
<T> SingletonServiceBuilder<T> |
SingletonServiceBuilderFactory.createSingletonServiceBuilder(ServiceName name,
Service<T> service)
Use
org.wildfly.clustering.singleton.spi.SingletonServiceName to generate an appropriate ServiceName . |
SingletonServiceBuilder<T> |
SingletonServiceBuilder.electionPolicy(SingletonElectionPolicy policy)
Defines the policy for electing a singleton master.
|
SingletonServiceBuilder<T> |
SingletonServiceBuilder.requireQuorum(int quorum)
Defines the minimum number of members required before a singleton master election will take place.
|
Copyright © 2016 JBoss by Red Hat. All rights reserved.