Class NutclusterExecutorClusterEventService
java.lang.Object
com.atlassian.confluence.cluster.nutcluster.NutclusterExecutorClusterEventService
- All Implemented Interfaces:
NutclusterClusterEventService
@Deprecated
public class NutclusterExecutorClusterEventService
extends Object
implements NutclusterClusterEventService
Deprecated.
An implementation of
NutclusterClusterEventService
which uses a Nutcluster IExecutorService
to distribute
events.- Since:
- 5.5
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final String
Deprecated.Name of the executor service to use for executing tasks. -
Constructor Summary
ConstructorsConstructorDescriptionNutclusterExecutorClusterEventService
(com.atlassian.nutcluster.core.NutclusterInstance nutcluster, @Nullable io.micrometer.core.instrument.MeterRegistry micrometerRegistry) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.nutcluster.core.IExecutorService
Deprecated.Returns the distributed executor service for the givenvoid
publishEventToCluster
(Object clusterEvent) Deprecated.void
start()
Deprecated.void
stop()
Deprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.atlassian.confluence.cluster.nutcluster.NutclusterClusterEventService
asClusterEventService
-
Field Details
-
EXECUTOR_SVC_NAME
Deprecated.Name of the executor service to use for executing tasks.- See Also:
-
-
Constructor Details
-
NutclusterExecutorClusterEventService
public NutclusterExecutorClusterEventService(com.atlassian.nutcluster.core.NutclusterInstance nutcluster, @Nullable io.micrometer.core.instrument.MeterRegistry micrometerRegistry) Deprecated.- Since:
- 7.0
-
-
Method Details
-
publishEventToCluster
Deprecated.- Specified by:
publishEventToCluster
in interfaceNutclusterClusterEventService
-
start
public void start()Deprecated.- Specified by:
start
in interfaceNutclusterClusterEventService
-
stop
public void stop()Deprecated.- Specified by:
stop
in interfaceNutclusterClusterEventService
-
getExecutorService
public com.atlassian.nutcluster.core.IExecutorService getExecutorService()Deprecated.Description copied from interface:NutclusterClusterEventService
Returns the distributed executor service for the givenNote: Note that it don't support invokeAll/Any and don't have standard shutdown behavior
See
NutclusterInstance.getExecutorService(String)
for more details- Specified by:
getExecutorService
in interfaceNutclusterClusterEventService
- Returns:
- executor service
-
TopicEventPublisher