Interface Worker
- All Known Implementing Classes:
SimpleWorkerInstance
public interface Worker
Represents the worker, hosing one or more nodes performing work.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionOpens anWorker.Accessorwhich can be used to read the run-state of thisWorker.Opens aWorker.Mutatorwhich can be used to modify the run-state of thisWorker.
-
Method Details
-
beginMutation
Worker.Mutator beginMutation()Opens aWorker.Mutatorwhich can be used to modify the run-state of thisWorker.- Returns:
- the
Worker.Mutator
-
accessWorkerState
Worker.Accessor accessWorkerState()Opens anWorker.Accessorwhich can be used to read the run-state of thisWorker.- Returns:
- the
Worker.Accessor
-