Interface Node.Startup
- Enclosing interface:
Node
public static interface Node.Startup
Represents a pending node start-up process.
-
Method Details
-
getNode
Node getNode()Gets theNode
starting up.- Returns:
-
getNodeId
Gets theNodeId
being started-up.- Returns:
-
preStart
void preStart()Performs any pre-start operations. -
start
Starts the service. This sets up any network listeners and begins accepting threads. Once the service is up and running, the service can begin to accept connections from clients.- Parameters:
binding
- anInstanceConnectionService.InstanceBinding
representing an open connection used by thisNode
to communicate- Throws:
IllegalStateException
- if the node has already been started
-
postStart
void postStart()Performs any post-start operations. -
cancel
void cancel()Cancels the operation.
-