Class ApplyJournalEntries

  • All Implemented Interfaces:
    ControlMessage, Serializable

    public class ApplyJournalEntries
    extends Object
    implements Serializable, ControlMessage
    This is an internal message that is stored in the akka's persistent journal. During recovery, this message is used to apply recovered journal entries to the state whose indexes range from the context's current lastApplied index to "toIndex" contained in the message. This message is sent internally from a behavior to the RaftActor to persist.
    Author:
    Thomas Pantelis
    See Also:
    Serialized Form
    • Constructor Detail

      • ApplyJournalEntries

        public ApplyJournalEntries​(long toIndex)
    • Method Detail

      • getToIndex

        public long getToIndex()