Package com.atlassian.bamboo.beehive
Class NodeLifeStateServiceImpl
- java.lang.Object
-
- com.atlassian.bamboo.beehive.NodeLifeStateServiceImpl
-
- All Implemented Interfaces:
NodeLifeStateService
public class NodeLifeStateServiceImpl extends Object implements NodeLifeStateService
-
-
Constructor Summary
Constructors Constructor Description NodeLifeStateServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()voidstopNode()Stops the current node.voidtakeOverPrimaryFunctionality()Triggers all actions that should be taken when the current node takes over the primary functionality.
-
-
-
Method Detail
-
destroy
@PreDestroy public void destroy()
-
stopNode
public void stopNode()
Description copied from interface:NodeLifeStateServiceStops the current node.- Specified by:
stopNodein interfaceNodeLifeStateService
-
takeOverPrimaryFunctionality
public void takeOverPrimaryFunctionality()
Description copied from interface:NodeLifeStateServiceTriggers all actions that should be taken when the current node takes over the primary functionality.- Specified by:
takeOverPrimaryFunctionalityin interfaceNodeLifeStateService
-
-