+
+ } else if (message instanceof PrintState) {
+ LOG.debug("State of the node:{} has entries={}, {}",
+ getId(), state.size(), getReplicatedLogState());
+
+ } else if (message instanceof PrintRole) {
+ LOG.debug("{} = {}, Peers={}", getId(), getRaftState(),getPeers());
+
+ } else {
+ super.onReceiveCommand(message);