Implemented RemovedEventListener... #51

Merged
rahimiankeanu merged 3 commits from ExecutorRemovedEventListenerMqttAdapter into dev 2021-11-14 15:12:10 +00:00
2 changed files with 3 additions and 0 deletions
Showing only changes of commit c48a402e55 - Show all commits

View File

@ -16,4 +16,7 @@ public class ExecutorRemovedHandler implements ExecutorRemovedEventHandler {
public boolean handleExecutorRemovedEvent(ExecutorRemovedEvent executorRemovedEvent) { public boolean handleExecutorRemovedEvent(ExecutorRemovedEvent executorRemovedEvent) {
return ExecutorRegistry.getInstance().removeExecutor(executorRemovedEvent.getExecutorId()); return ExecutorRegistry.getInstance().removeExecutor(executorRemovedEvent.getExecutorId());
} }
public void handleNewExecutorEvent(ExecutorRemovedEvent executorRemovedEvent) {
reynisson commented 2021-11-12 12:42:25 +00:00 (Migrated from github.com)
Review

I don't think we need to handle a New Executor event inside the ExecutorRemovedHandler

I don't think we need to handle a New Executor event inside the ExecutorRemovedHandler
}
} }