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 TypeMethodDescriptioncreate(ApplicationId applicationId) Creates aNodefor the suppliedApplicationIdstatic Node.FactoryIndicates that factory support is currently disabled or otherwise unsupported.
-
Method Details
-
create
Creates aNodefor the suppliedApplicationId- Parameters:
applicationId- theApplicationIdwhich will be used to create theNode- Returns:
- the
Node
-
unsupported
Indicates that factory support is currently disabled or otherwise unsupported.- Returns:
- a factoyr which simply throw an instance of
UnsupportedOperationException
-