Class HazelcastExecutorClusterEventService
- java.lang.Object
-
- com.atlassian.confluence.cluster.hazelcast.HazelcastExecutorClusterEventService
-
- All Implemented Interfaces:
HazelcastClusterEventService
@Deprecated public class HazelcastExecutorClusterEventService extends Object implements HazelcastClusterEventService
Deprecated.since 8.3 Replaced byTopicEventPublisher
An implementation ofHazelcastClusterEventService
which uses a HazelcastIExecutorService
to distribute events.- Since:
- 5.5
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
EXECUTOR_SVC_NAME
Deprecated.Name of the executor service to use for executing tasks.
-
Constructor Summary
Constructors Constructor Description HazelcastExecutorClusterEventService(com.hazelcast.core.HazelcastInstance hazelcast, @Nullable io.micrometer.core.instrument.MeterRegistry micrometerRegistry)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description com.hazelcast.core.IExecutorService
getExecutorService()
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.hazelcast.HazelcastClusterEventService
asClusterEventService
-
-
-
-
Field Detail
-
EXECUTOR_SVC_NAME
protected static final String EXECUTOR_SVC_NAME
Deprecated.Name of the executor service to use for executing tasks.- See Also:
- Constant Field Values
-
-
Method Detail
-
publishEventToCluster
public void publishEventToCluster(Object clusterEvent)
Deprecated.- Specified by:
publishEventToCluster
in interfaceHazelcastClusterEventService
-
start
public void start()
Deprecated.- Specified by:
start
in interfaceHazelcastClusterEventService
-
stop
public void stop()
Deprecated.- Specified by:
stop
in interfaceHazelcastClusterEventService
-
getExecutorService
public com.hazelcast.core.IExecutorService getExecutorService()
Deprecated.Description copied from interface:HazelcastClusterEventService
Returns 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:
getExecutorService
in interfaceHazelcastClusterEventService
- Returns:
- executor service
-
-