/** * This method should be called by the framework once it detects that a currently registered * worker has failed. * * @param resourceID Id of the worker that has failed. * @param message An informational message that explains why the worker failed. */ public void notifyWorkerFailed(ResourceID resourceID, String message) { WorkerType worker = startedWorkers.remove(resourceID); if (worker != null) { jobManager.tell( decorateMessage( new ResourceRemoved(resourceID, message)), self()); } }
/** * This method should be called by the framework once it detects that a currently registered * worker has failed. * * @param resourceID Id of the worker that has failed. * @param message An informational message that explains why the worker failed. */ public void notifyWorkerFailed(ResourceID resourceID, String message) { WorkerType worker = startedWorkers.remove(resourceID); if (worker != null) { jobManager.tell( decorateMessage( new ResourceRemoved(resourceID, message)), self()); } }
/** * This method should be called by the framework once it detects that a currently registered * worker has failed. * * @param resourceID Id of the worker that has failed. * @param message An informational message that explains why the worker failed. */ public void notifyWorkerFailed(ResourceID resourceID, String message) { WorkerType worker = startedWorkers.remove(resourceID); if (worker != null) { jobManager.tell( decorateMessage( new ResourceRemoved(resourceID, message)), self()); } }
/** * This method should be called by the framework once it detects that a currently registered * worker has failed. * * @param resourceID Id of the worker that has failed. * @param message An informational message that explains why the worker failed. */ public void notifyWorkerFailed(ResourceID resourceID, String message) { WorkerType worker = startedWorkers.remove(resourceID); if (worker != null) { jobManager.tell( decorateMessage( new ResourceRemoved(resourceID, message)), self()); } }