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.Accessor
which can be used to read the run-state of thisWorker
.Opens aWorker.Mutator
which can be used to modify the run-state of thisWorker
.
-
Method Details
-
beginMutation
Worker.Mutator beginMutation()Opens aWorker.Mutator
which can be used to modify the run-state of thisWorker
.- Returns:
- the
Worker.Mutator
-
accessWorkerState
Worker.Accessor accessWorkerState()Opens anWorker.Accessor
which can be used to read the run-state of thisWorker
.- Returns:
- the
Worker.Accessor
-