+
+ /**
+ * Returns the leader's payload data version.
+ *
+ * @return a short representing the version
+ */
+ short getLeaderPayloadVersion();
+
+ /**
+ * Closes the current behavior and switches to the specified behavior, if possible.
+ *
+ * @param behavior the new behavior to switch to
+ * @return the new behavior
+ */
+ RaftActorBehavior switchBehavior(RaftActorBehavior behavior);
+
+ @Override
+ void close();