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 SummaryFieldsModifier and TypeFieldDescriptionprotected static final StringDeprecated.Name of the executor service to use for executing tasks.
- 
Constructor SummaryConstructorsConstructorDescriptionHazelcastExecutorClusterEventService(com.hazelcast.core.HazelcastInstance hazelcast, @Nullable io.micrometer.core.instrument.MeterRegistry micrometerRegistry) Deprecated.
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.confluence.cluster.hazelcast.HazelcastClusterEventServiceasClusterEventService
- 
Field Details- 
EXECUTOR_SVC_NAMEDeprecated.Name of the executor service to use for executing tasks.- See Also:
 
 
- 
- 
Constructor Details- 
HazelcastExecutorClusterEventServicepublic HazelcastExecutorClusterEventService(com.hazelcast.core.HazelcastInstance hazelcast, @Nullable io.micrometer.core.instrument.MeterRegistry micrometerRegistry) Deprecated.- Since:
- 7.0
 
 
- 
- 
Method Details- 
publishEventToClusterDeprecated.- Specified by:
- publishEventToClusterin interface- HazelcastClusterEventService
 
- 
startpublic void start()Deprecated.- Specified by:
- startin interface- HazelcastClusterEventService
 
- 
stoppublic void stop()Deprecated.- Specified by:
- stopin interface- HazelcastClusterEventService
 
- 
getExecutorServicepublic 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 interface- HazelcastClusterEventService
- Returns:
- executor service
 
 
- 
TopicEventPublisher