Class DistributedSingletonServiceBuilder<T>
java.lang.Object
org.wildfly.clustering.service.SimpleServiceNameProvider
org.wildfly.clustering.singleton.server.DistributedSingletonServiceBuilder<T>
- All Implemented Interfaces:
Supplier<Group>,Builder<T>,ServiceConfigurator,ServiceNameProvider,DistributedSingletonServiceContext,SingletonServiceContext,SingletonServiceBuilder<T>
@Deprecated
public class DistributedSingletonServiceBuilder<T>
extends SimpleServiceNameProvider
implements SingletonServiceBuilder<T>, DistributedSingletonServiceContext, Supplier<Group>
Deprecated.
Distributed
SingletonServiceBuilder implementation that uses JBoss MSC 1.3.x service installation.- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionDistributedSingletonServiceBuilder(org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.Service<T> primaryService, org.jboss.msc.service.Service<T> backupService, DistributedSingletonServiceConfiguratorContext context) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionorg.jboss.msc.service.ServiceBuilder<T>build(org.jboss.msc.service.ServiceTarget target) Deprecated.electionListener(SingletonElectionListener listener) Deprecated.electionPolicy(SingletonElectionPolicy electionPolicy) Deprecated.get()Deprecated.Deprecated.Deprecated.Deprecated.intDeprecated.Supplier<ServiceProviderRegistry<org.jboss.msc.service.ServiceName>>Deprecated.requireQuorum(int quorum) Deprecated.Methods inherited from class org.wildfly.clustering.service.SimpleServiceNameProvider
equals, getServiceName, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.wildfly.clustering.service.ServiceNameProvider
getServiceName
-
Constructor Details
-
DistributedSingletonServiceBuilder
public DistributedSingletonServiceBuilder(org.jboss.msc.service.ServiceName serviceName, org.jboss.msc.service.Service<T> primaryService, org.jboss.msc.service.Service<T> backupService, DistributedSingletonServiceConfiguratorContext context) Deprecated.
-
-
Method Details
-
get
Deprecated. -
build
Deprecated.- Specified by:
buildin interfaceBuilder<T>- Specified by:
buildin interfaceServiceConfigurator
-
requireQuorum
Deprecated.- Specified by:
requireQuorumin interfaceSingletonServiceBuilder<T>
-
electionPolicy
Deprecated.- Specified by:
electionPolicyin interfaceSingletonServiceBuilder<T>
-
electionListener
Deprecated.- Specified by:
electionListenerin interfaceSingletonServiceBuilder<T>
-
getServiceProviderRegistry
public Supplier<ServiceProviderRegistry<org.jboss.msc.service.ServiceName>> getServiceProviderRegistry()Deprecated.- Specified by:
getServiceProviderRegistryin interfaceDistributedSingletonServiceContext
-
getCommandDispatcherFactory
Deprecated.- Specified by:
getCommandDispatcherFactoryin interfaceDistributedSingletonServiceContext
-
getElectionPolicy
Deprecated.- Specified by:
getElectionPolicyin interfaceDistributedSingletonServiceContext
-
getElectionListener
Deprecated.- Specified by:
getElectionListenerin interfaceSingletonServiceContext
-
getQuorum
public int getQuorum()Deprecated.- Specified by:
getQuorumin interfaceDistributedSingletonServiceContext
-