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