use of tezc.core.node.PeerNode in project tezcRaft by tezc.
the class ClusterWorker method eventsDrained.
/**
* All events are processed
*/
@Override
public void eventsDrained() {
try {
for (PeerNode node : readyNodes) {
node.handleMsgs();
}
readyNodes.clear();
for (Cluster cluster : readyClusters) {
cluster.flush();
}
readyClusters.clear();
} catch (Exception e) {
logError(e);
}
}
Aggregations