Class MasterNodeLifecycle
java.lang.Object
dev.getelements.elements.rt.remote.MasterNodeLifecycle
- All Implemented Interfaces:
NodeLifecycle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnodePostStop(Node node) Called just after theNodehas stopped accepting connections.voidnodePreStart(Node node) Called before theNodeis up and accepting connectionsvoidsetInstanceMetadataContext(InstanceMetadataContext instanceMetadataContext) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.getelements.elements.rt.remote.NodeLifecycle
nodePostStart, nodePreStop
-
Constructor Details
-
MasterNodeLifecycle
public MasterNodeLifecycle()
-
-
Method Details
-
nodePreStart
Description copied from interface:NodeLifecycleCalled before theNodeis up and accepting connections- Specified by:
nodePreStartin interfaceNodeLifecycle- Parameters:
node-
-
nodePostStop
Description copied from interface:NodeLifecycleCalled just after theNodehas stopped accepting connections.- Specified by:
nodePostStopin interfaceNodeLifecycle- Parameters:
node-
-
getInstanceMetadataContext
-
setInstanceMetadataContext
-