public interface IWorkerStatusUpdater
Modifier and Type | Method and Description |
---|---|
JobMasterAPI.WorkerState |
getWorkerStatusForID(int id)
return the status of any worker in the job
|
boolean |
updateWorkerStatus(JobMasterAPI.WorkerState newState)
update the status of this worker in the job
each worker reports its status changes with this method
Dashboard, JobMaster and other workers get worker status updates
if status update is unsuccessful, return false
|
boolean updateWorkerStatus(JobMasterAPI.WorkerState newState)
newState
- JobMasterAPI.WorkerState getWorkerStatusForID(int id)
id
-