| org.jboss.ha.singleton.HASingletonSupportMBean
All known Subclasses: org.jboss.ha.singleton.HASingletonSupport,
HASingletonSupportMBean | public interface HASingletonSupportMBean extends HASingletonMBean(Code) | | The management interface for the singleton support service.
author: Alex Fu version: $Revision$ |
getRestartOnMerge | boolean getRestartOnMerge()(Code) | | Gets whether this singleton will stop and restart itself if it is the
master and a cluster merge occurs.
A restart allows the service to reset any state that may
have gotten out-of-sync with the rest of the cluster while
the just-merged split was in effect.
true if a restart will occur, false otherwise |
setRestartOnMerge | void setRestartOnMerge(boolean restartOnMerge)(Code) | | Sets whether this singleton will stop and restart itself if it is the
master and a cluster merge occurs?
A restart allows the service to reset any state that may
have gotten out-of-sync with the rest of the cluster while
the just-merged split was in effect.
Parameters: restartOnMerge - true if a restart should occur, false otherwise |
|
|