public interface NodeManager<T>
Modifier and Type | Method and Description |
---|---|
void |
failed(T node)
Called when a working node fails
|
void |
ping(T node,
Executor executor)
Called when a node should be pinged.
|
default void |
pingIterationCompleted()
Called right after a ping has been issued to each node.
|
void |
working(T node)
Called when a failed node is working (ready for production) again
|
void working(T node)
void failed(T node)
void ping(T node, Executor executor)
default void pingIterationCompleted()
Copyright © 2018. All rights reserved.