* @param callback the Procedure to be notified when persistence is complete (optional).
* @param doAsync if true, the persistent actor can receive subsequent messages to process in between the persist
* call and the execution of the associated callback. If false, subsequent messages are stashed and get
* @param callback the Procedure to be notified when persistence is complete (optional).
* @param doAsync if true, the persistent actor can receive subsequent messages to process in between the persist
* call and the execution of the associated callback. If false, subsequent messages are stashed and get
* @return true if the entry was successfully appended, false otherwise.
*/
boolean appendAndPersist(@Nonnull ReplicatedLogEntry replicatedLogEntry,
* @return true if the entry was successfully appended, false otherwise.
*/
boolean appendAndPersist(@Nonnull ReplicatedLogEntry replicatedLogEntry,