Interface Node.Startup

Enclosing interface:
Node

public static interface Node.Startup
Represents a pending node start-up process.
  • Method Details

    • getNode

      Node getNode()
      Gets the Node starting up.
      Returns:
    • getNodeId

      default NodeId getNodeId()
      Gets the NodeId 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 - an InstanceConnectionService.InstanceBinding representing an open connection used by this Node 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.