Class LegacyDistributedSingletonContext<T>
java.lang.Object
org.wildfly.clustering.singleton.server.AbstractSingletonContext<LegacySingletonContext<T>,ServiceValue<T>>
org.wildfly.clustering.singleton.server.LegacyDistributedSingletonContext<T>
- All Implemented Interfaces:
AutoCloseable,Supplier<LegacySingletonContext<T>>,org.wildfly.clustering.server.manager.Service,org.wildfly.clustering.server.provider.ServiceProviderListener<org.wildfly.clustering.server.GroupMember>,org.wildfly.clustering.server.Registration,SingletonElectionListener,LegacySingletonContext<T>,SingletonContext,SingletonContextRegistration<LegacySingletonContext<T>>,SingletonRegistration,Singleton,SingletonStatus
@Deprecated
public class LegacyDistributedSingletonContext<T>
extends AbstractSingletonContext<LegacySingletonContext<T>,ServiceValue<T>>
implements LegacySingletonContext<T>
Deprecated.
- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.server.Registration
EMPTY -
Constructor Summary
ConstructorsConstructorDescriptionLegacyDistributedSingletonContext(SingletonServiceContext context, ServiceValue<T> primaryLifecycle) Deprecated. -
Method Summary
Methods inherited from class org.wildfly.clustering.singleton.server.AbstractSingletonContext
elected, getCommandDispatcher, getServiceProviderRegistration, getSingletonState, isPrimaryProvider, isStarted, providersChanged, start, stopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.server.manager.Service
isStarted, start, stopMethods inherited from interface org.wildfly.clustering.singleton.Singleton
getPrimaryProvider, getProviders, isPrimaryMethods inherited from interface org.wildfly.clustering.singleton.server.SingletonContextRegistration
closeMethods inherited from interface org.wildfly.clustering.singleton.election.SingletonElectionListener
electedMethods inherited from interface org.wildfly.clustering.singleton.SingletonStatus
isPrimaryProvider
-
Constructor Details
-
LegacyDistributedSingletonContext
public LegacyDistributedSingletonContext(SingletonServiceContext context, ServiceValue<T> primaryLifecycle) Deprecated.
-
-
Method Details
-
get
Deprecated. -
getLocalValue
Deprecated.- Specified by:
getLocalValuein interfaceLegacySingletonContext<T>
-