Class ApplyJournalEntries

java.lang.Object
org.opendaylight.controller.cluster.raft.persisted.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:
  • Constructor Details

    • ApplyJournalEntries

      public ApplyJournalEntries(long toIndex)
  • Method Details

    • getToIndex

      public long getToIndex()
    • toString

      public String toString()
      Overrides:
      toString in class Object