Interface Node.Factory

Enclosing interface:
Node

public static interface Node.Factory
Allows for the creation of Node instances on-the-fly. This is used by the Worker and Worker.Mutator to add new Nodes after start-up.
  • Method Summary

    Modifier and Type
    Method
    Description
    create(dev.getelements.elements.sdk.cluster.id.ApplicationId applicationId)
    Creates a Node for the supplied ApplicationId
    Indicates that factory support is currently disabled or otherwise unsupported.
  • Method Details

    • create

      Node create(dev.getelements.elements.sdk.cluster.id.ApplicationId applicationId)
      Creates a Node for the supplied ApplicationId
      Parameters:
      applicationId - the ApplicationId which will be used to create the Node
      Returns:
      the Node
    • unsupported

      static Node.Factory unsupported()
      Indicates that factory support is currently disabled or otherwise unsupported.
      Returns:
      a factoyr which simply throw an instance of UnsupportedOperationException