Uses of Interface
org.opendaylight.controller.cluster.raft.ReplicatedLogEntry
Packages that use ReplicatedLogEntry
Package
Description
-
Uses of ReplicatedLogEntry in org.opendaylight.controller.cluster.datastore.actors
Constructors in org.opendaylight.controller.cluster.datastore.actors with parameters of type ReplicatedLogEntry -
Uses of ReplicatedLogEntry in org.opendaylight.controller.cluster.raft
Methods in org.opendaylight.controller.cluster.raft that return ReplicatedLogEntryModifier and TypeMethodDescriptionAbstractReplicatedLogImpl.get
(long logEntryIndex) @Nullable ReplicatedLogEntry
ReplicatedLog.get
(long index) Return the replicated log entry at the specified index.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 ReplicatedLogEntryModifier and TypeMethodDescriptionAbstractReplicatedLogImpl.getFrom
(long logEntryIndex) 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 ReplicatedLogEntryModifier and TypeMethodDescriptionboolean
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.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 ReplicatedLogEntryModifier and TypeMethodDescriptionboolean
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 ReplicatedLogEntryModifierConstructorDescriptionprotected
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 ReplicatedLogEntryModifier and TypeMethodDescriptionApplyState.getReplicatedLogEntry()
Replicate.getReplicatedLogEntry()
Methods in org.opendaylight.controller.cluster.raft.base.messages that return types with arguments of type ReplicatedLogEntryConstructors in org.opendaylight.controller.cluster.raft.base.messages with parameters of type ReplicatedLogEntryModifierConstructorDescriptionApplyState
(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 ReplicatedLogEntryModifierConstructorDescriptionCaptureSnapshot
(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 ReplicatedLogEntryConstructor parameters in org.opendaylight.controller.cluster.raft.messages with type arguments of type ReplicatedLogEntryModifierConstructorDescriptionAppendEntries
(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 ReplicatedLogEntryMethods in org.opendaylight.controller.cluster.raft.persisted that return types with arguments of type ReplicatedLogEntryMethod parameters in org.opendaylight.controller.cluster.raft.persisted with type arguments of type ReplicatedLogEntryModifier and TypeMethodDescriptionstatic Snapshot
Snapshot.create
(Snapshot.State state, List<ReplicatedLogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, long electionTerm, String electionVotedFor, ServerConfigurationPayload serverConfig)