Interface SingletonServiceConfigurator
- All Superinterfaces:
ImmutableSingletonServiceConfigurator,ServiceConfigurator,ServiceNameProvider
@Deprecated(forRemoval=true)
public interface SingletonServiceConfigurator
extends ImmutableSingletonServiceConfigurator
Deprecated, for removal: This API element is subject to removal in a future version.
Extension of
ImmutableSingletonServiceConfigurator for customizing singleton service behavior.- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionelectionListener(SingletonElectionListener listener) Deprecated, for removal: This API element is subject to removal in a future version.Defines a listener to trigger following the election of a primary singleton provider.Deprecated, for removal: This API element is subject to removal in a future version.Defines the policy for electing a primary singleton provider.requireQuorum(int quorum) Deprecated, for removal: This API element is subject to removal in a future version.Defines the minimum number of members required before a singleton election will take place.Methods inherited from interface org.wildfly.clustering.singleton.service.ImmutableSingletonServiceConfigurator
buildMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Method Details
-
requireQuorum
Deprecated, for removal: This API element is subject to removal in a future version.Defines the minimum number of members required before a singleton election will take place.- Parameters:
quorum- the quorum required for electing a primary singleton provider- Returns:
- a reference to this configurator
-
electionPolicy
Deprecated, for removal: This API element is subject to removal in a future version.Defines the policy for electing a primary singleton provider.- Parameters:
policy- an election policy- Returns:
- a reference to this configurator
-
electionListener
Deprecated, for removal: This API element is subject to removal in a future version.Defines a listener to trigger following the election of a primary singleton provider.- Parameters:
listener- an election listener- Returns:
- a reference to this configurator
-
SingletonServiceTarget.