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 void
destroy()
void
stopNode()
Stops the current node.void
takeOverPrimaryFunctionality()
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:NodeLifeStateService
Stops the current node.- Specified by:
stopNode
in interfaceNodeLifeStateService
-
takeOverPrimaryFunctionality
public void takeOverPrimaryFunctionality()
Description copied from interface:NodeLifeStateService
Triggers all actions that should be taken when the current node takes over the primary functionality.- Specified by:
takeOverPrimaryFunctionality
in interfaceNodeLifeStateService
-
-