com.atlassian.confluence.cluster.safety
Class DefaultClusterSafetyManager

java.lang.Object
  extended by com.atlassian.confluence.cluster.safety.DefaultClusterSafetyManager
All Implemented Interfaces:
ClusterSafetyManager

public class DefaultClusterSafetyManager
extends java.lang.Object
implements ClusterSafetyManager


Constructor Summary
DefaultClusterSafetyManager()
           
 
Method Summary
 void panic()
           
 void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)
           
 void setClusterManager(ClusterManager clusterManager)
           
 void setClusterSafetyDao(ClusterSafetyDao clusterSafetyDao)
           
 void setEventManager(com.atlassian.event.EventManager eventManager)
           
 void verify()
          Ensures cluster is safe.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClusterSafetyManager

public DefaultClusterSafetyManager()
Method Detail

verify

public void verify()
Description copied from interface: ClusterSafetyManager
Ensures cluster is safe. If not, panic procedure is initiated.

Specified by:
verify in interface ClusterSafetyManager

panic

public void panic()

setCacheFactory

public void setCacheFactory(com.atlassian.cache.CacheFactory cacheFactory)

setClusterSafetyDao

public void setClusterSafetyDao(ClusterSafetyDao clusterSafetyDao)

setEventManager

public void setEventManager(com.atlassian.event.EventManager eventManager)

setClusterManager

public void setClusterManager(ClusterManager clusterManager)


Copyright © 2003-2014 Atlassian. All Rights Reserved.