com.atlassian.confluence.cluster.hazelcast
Class HazelcastExecutorClusterEventService

java.lang.Object
  extended by com.atlassian.confluence.cluster.hazelcast.HazelcastExecutorClusterEventService
All Implemented Interfaces:
HazelcastClusterEventService

public class HazelcastExecutorClusterEventService
extends java.lang.Object
implements HazelcastClusterEventService

An implementation of HazelcastClusterEventService which uses a Hazelcast remote executor to distribute events. This is probably not the most efficient way to do this - HazelcastTopicClusterEventService is preferable.

Since:
v5.5

Constructor Summary
HazelcastExecutorClusterEventService(com.hazelcast.core.HazelcastInstance hazelcast)
           
 
Method Summary
 void publishEventToCluster(java.lang.Object event)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HazelcastExecutorClusterEventService

public HazelcastExecutorClusterEventService(com.hazelcast.core.HazelcastInstance hazelcast)
Method Detail

publishEventToCluster

public void publishEventToCluster(java.lang.Object event)
Specified by:
publishEventToCluster in interface HazelcastClusterEventService

start

public void start()
Specified by:
start in interface HazelcastClusterEventService

stop

public void stop()
Specified by:
stop in interface HazelcastClusterEventService


Copyright © 2003-2014 Atlassian. All Rights Reserved.