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