SingletonPolicy.@Deprecated public interface SingletonPolicy extends SingletonPolicy
| Modifier and Type | Method and Description |
|---|---|
<T> org.wildfly.clustering.service.Builder<T> |
createSingletonServiceBuilder(ServiceName name,
Service<T> service)
Deprecated.
|
<T> org.wildfly.clustering.service.Builder<T> |
createSingletonServiceBuilder(ServiceName name,
Service<T> primaryService,
Service<T> backupService)
Deprecated.
|
createSingletonServiceConfigurator@Deprecated <T> org.wildfly.clustering.service.Builder<T> createSingletonServiceBuilder(ServiceName name, Service<T> service)
SingletonPolicy.createSingletonServiceConfigurator(ServiceName) instead.name - the name of the serviceservice - the service to run when elected as the primary node@Deprecated <T> org.wildfly.clustering.service.Builder<T> createSingletonServiceBuilder(ServiceName name, Service<T> primaryService, Service<T> backupService)
SingletonPolicy.createSingletonServiceConfigurator(ServiceName) instead.name - the name of the serviceprimaryService - the service to run when elected as the primary nodebackupService - the service to run when not elected as the primary nodeCopyright © 2019 JBoss by Red Hat. All rights reserved.