Implemented RemovedEventListener... #51
tapas-auction-house/src/main/java/ch/unisg/tapas/auctionhouse
adapter/in/messaging/mqtt
application/handler
@ -16,4 +16,7 @@ public class ExecutorRemovedHandler implements ExecutorRemovedEventHandler {
|
||||
public boolean handleExecutorRemovedEvent(ExecutorRemovedEvent executorRemovedEvent) {
|
||||
return ExecutorRegistry.getInstance().removeExecutor(executorRemovedEvent.getExecutorId());
|
||||
}
|
||||
|
||||
public void handleNewExecutorEvent(ExecutorRemovedEvent executorRemovedEvent) {
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user
I don't think we need to handle a New Executor event inside the ExecutorRemovedHandler