Uses of Interface
org.opendaylight.controller.cluster.raft.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 ReplicatedLogEntryAbstractReplicatedLogImpl. get(long logEntryIndex)@Nullable ReplicatedLogEntryReplicatedLog. get(long index)Return the replicated log entry at the specified index.ReplicatedLogEntryAbstractReplicatedLogImpl. last()@Nullable ReplicatedLogEntryReplicatedLog. 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 booleanAbstractReplicatedLogImpl. append(ReplicatedLogEntry replicatedLogEntry)booleanReplicatedLog. append(ReplicatedLogEntry replicatedLogEntry)Appends an entry to the log.booleanReplicatedLog. appendAndPersist(@NonNull ReplicatedLogEntry replicatedLogEntry, @Nullable Consumer<ReplicatedLogEntry> callback, boolean doAsync)Appends an entry to the in-memory log and persists it as well.booleanSnapshotManager. capture(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex)booleanSnapshotState. capture(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex)Initiates a capture snapshot.voidReplicatedLog. captureSnapshotIfReady(ReplicatedLogEntry replicatedLogEntry)Determines if a snapshot needs to be captured based on the count/memory consumed and initiates the capture.booleanSnapshotManager. captureToInstall(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex, String targetFollower)booleanSnapshotState. captureToInstall(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex, String targetFollower)Initiates a capture snapshot for the purposing of installing the snapshot on a follower.CaptureSnapshotSnapshotManager. newCaptureSnapshot(ReplicatedLogEntry lastLogEntry, long replicatedToAllIndex)Constructs a CaptureSnapshot instance.Method parameters in org.opendaylight.controller.cluster.raft with type arguments of type ReplicatedLogEntry Modifier and Type Method Description booleanReplicatedLog. 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 ReplicatedLogEntryApplyState. getReplicatedLogEntry()ReplicatedLogEntryReplicate. 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) -
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 classSimpleReplicatedLogEntryAReplicatedLogEntryimplementation.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 SnapshotSnapshot. create(Snapshot.State state, List<ReplicatedLogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, long electionTerm, String electionVotedFor, ServerConfigurationPayload serverConfig)
-