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 Node
s after start-up.-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ApplicationId applicationId) Creates aNode
for the suppliedApplicationId
static Node.Factory
Indicates that factory support is currently disabled or otherwise unsupported.
-
Method Details
-
create
Creates aNode
for the suppliedApplicationId
- Parameters:
applicationId
- theApplicationId
which 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
-