Uses of Interface
org.opendaylight.controller.cluster.raft.ReplicatedLogEntry
-
-
Uses of ReplicatedLogEntry in org.opendaylight.controller.cluster.datastore.actors
Constructors in org.opendaylight.controller.cluster.datastore.actors with parameters of type ReplicatedLogEntry Constructor Description ExportJournal(ReplicatedLogEntry replicatedLogEntry)
-
Uses of ReplicatedLogEntry in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return ReplicatedLogEntry Modifier and Type Method Description ReplicatedLogEntry
AbstractReplicatedLogImpl. get(long logEntryIndex)
@Nullable ReplicatedLogEntry
ReplicatedLog. get(long index)
Return the replicated log entry at the specified index.ReplicatedLogEntry
AbstractReplicatedLogImpl. last()
@Nullable ReplicatedLogEntry
ReplicatedLog. last()
Return the last replicated log entry in the log or null of not found.Methods in org.opendaylight.controller.cluster.raft that return types with arguments of type ReplicatedLogEntry Modifier and Type Method Description List<ReplicatedLogEntry>
AbstractReplicatedLogImpl. getFrom(long logEntryIndex)
List<ReplicatedLogEntry>
AbstractReplicatedLogImpl. getFrom(long logEntryIndex, int maxEntries, long maxDataSize)
@NonNull List<ReplicatedLogEntry>
ReplicatedLog. getFrom(long index)
Returns a list of log entries starting from the given index to the end of the log.@NonNull List<ReplicatedLogEntry>
ReplicatedLog. getFrom(long index, int maxEntries, long maxDataSize)
Returns a list of log entries starting from the given index up to the given maximum of entries or the given maximum accumulated size, whichever comes first.Methods in org.opendaylight.controller.cluster.raft with parameters of type ReplicatedLogEntry Modifier and Type Method Description boolean
AbstractReplicatedLogImpl. append(ReplicatedLogEntry replicatedLogEntry)
boolean
ReplicatedLog. append(ReplicatedLogEntry replicatedLogEntry)
Appends an entry to the log.boolean
ReplicatedLog. appendAndPersist(@NonNull ReplicatedLogEntry replicatedLogEntry, @Nullable Consumer<ReplicatedLogEntry> callback, boolean doAsync)
Appends an entry to the in-memory log and persists it as well.boolean
SnapshotManager. capture(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex)
boolean
SnapshotState. capture(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex)
Initiates a capture snapshot.void
ReplicatedLog. captureSnapshotIfReady(ReplicatedLogEntry replicatedLogEntry)
Determines if a snapshot needs to be captured based on the count/memory consumed and initiates the capture.boolean
SnapshotManager. captureToInstall(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex, String targetFollower)
boolean
SnapshotState. captureToInstall(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex, String targetFollower)
Initiates a capture snapshot for the purposing of installing the snapshot on a follower.boolean
SnapshotManager. captureWithForcedTrim(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex)
boolean
SnapshotState. captureWithForcedTrim(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex)
Initiates a capture snapshot, while enforcing trimming of the log up to lastAppliedIndex.CaptureSnapshot
SnapshotManager. newCaptureSnapshot(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex, boolean mandatoryTrim)
Constructs a CaptureSnapshot instance.Method parameters in org.opendaylight.controller.cluster.raft with type arguments of type ReplicatedLogEntry Modifier and Type Method Description boolean
ReplicatedLog. appendAndPersist(@NonNull ReplicatedLogEntry replicatedLogEntry, @Nullable Consumer<ReplicatedLogEntry> callback, boolean doAsync)
Appends an entry to the in-memory log and persists it as well.Constructor parameters in org.opendaylight.controller.cluster.raft with type arguments of type ReplicatedLogEntry Constructor Description AbstractReplicatedLogImpl(long snapshotIndex, long snapshotTerm, List<ReplicatedLogEntry> unAppliedEntries, String logContext)
-
Uses of ReplicatedLogEntry in org.opendaylight.controller.cluster.raft.base.messages
Methods in org.opendaylight.controller.cluster.raft.base.messages that return ReplicatedLogEntry Modifier and Type Method Description ReplicatedLogEntry
ApplyState. getReplicatedLogEntry()
ReplicatedLogEntry
Replicate. getReplicatedLogEntry()
Methods in org.opendaylight.controller.cluster.raft.base.messages that return types with arguments of type ReplicatedLogEntry Modifier and Type Method Description List<ReplicatedLogEntry>
CaptureSnapshot. getUnAppliedEntries()
Constructors in org.opendaylight.controller.cluster.raft.base.messages with parameters of type ReplicatedLogEntry Constructor Description ApplyState(ActorRef clientActor, Identifier identifier, ReplicatedLogEntry replicatedLogEntry)
Replicate(ActorRef clientActor, Identifier identifier, ReplicatedLogEntry replicatedLogEntry, boolean sendImmediate)
Constructor parameters in org.opendaylight.controller.cluster.raft.base.messages with type arguments of type ReplicatedLogEntry Constructor Description CaptureSnapshot(long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, long replicatedToAllIndex, long replicatedToAllTerm, List<ReplicatedLogEntry> unAppliedEntries, boolean mandatoryTrim)
-
Uses of ReplicatedLogEntry in org.opendaylight.controller.cluster.raft.messages
Methods in org.opendaylight.controller.cluster.raft.messages that return types with arguments of type ReplicatedLogEntry Modifier and Type Method Description @NonNull List<ReplicatedLogEntry>
AppendEntries. getEntries()
Constructor parameters in org.opendaylight.controller.cluster.raft.messages with type arguments of type ReplicatedLogEntry Constructor Description AppendEntries(long term, @NonNull String leaderId, long prevLogIndex, long prevLogTerm, @NonNull List<ReplicatedLogEntry> entries, long leaderCommit, long replicatedToAllIndex, short payloadVersion)
AppendEntries(long term, @NonNull String leaderId, long prevLogIndex, long prevLogTerm, @NonNull List<ReplicatedLogEntry> entries, long leaderCommit, long replicatedToAllIndex, short payloadVersion, short recipientRaftVersion, @Nullable String leaderAddress)
-
Uses of ReplicatedLogEntry in org.opendaylight.controller.cluster.raft.persisted
Classes in org.opendaylight.controller.cluster.raft.persisted that implement ReplicatedLogEntry Modifier and Type Class Description class
SimpleReplicatedLogEntry
AReplicatedLogEntry
implementation.Methods in org.opendaylight.controller.cluster.raft.persisted that return types with arguments of type ReplicatedLogEntry Modifier and Type Method Description List<ReplicatedLogEntry>
Snapshot. getUnAppliedEntries()
Method parameters in org.opendaylight.controller.cluster.raft.persisted with type arguments of type ReplicatedLogEntry Modifier and Type Method Description static Snapshot
Snapshot. create(Snapshot.State state, List<ReplicatedLogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, long electionTerm, String electionVotedFor, ServerConfigurationPayload serverConfig)
-