Uses of Interface
org.opendaylight.controller.cluster.raft.spi.LogEntry
Packages that use LogEntry
-
Uses of LogEntry in org.opendaylight.controller.cluster.raft
Subinterfaces of LogEntry in org.opendaylight.controller.cluster.raftModifier and TypeInterfaceDescriptioninterfaceRepresents one entry in the replicated log.Methods in org.opendaylight.controller.cluster.raft that return LogEntryModifier and TypeMethodDescriptionfinal LogEntryAbstractReplicatedLog.entryAt(long offset) ReplicatedLog.entryAt(long offset) Returns the entry and specified offset.@Nullable LogEntryReplicatedLog.last()Return the last replicated log entry in the log or null of not found.@Nullable LogEntryReplicatedLog.lookup(long index) Return the replicated log entry at the specified index.Methods in org.opendaylight.controller.cluster.raft with parameters of type LogEntryModifier and TypeMethodDescriptionprotected abstract @NonNull TAbstractReplicatedLog.adoptEntry(LogEntry entry) final booleanbooleanAppends an entry to the log if its index is already included in the log.booleanReplicatedLog.appendReceived(LogEntry entry, @Nullable Consumer<LogEntry> callback) Appends an entry received by a follower to the in-memory log and persists it as well, returning an indication whether or not a snapshot should be taken.voidApplyEntryMethod.applyEntry(@Nullable Identifier identifier, LogEntry entry) Method parameters in org.opendaylight.controller.cluster.raft with type arguments of type LogEntryModifier and TypeMethodDescriptionbooleanReplicatedLog.appendReceived(LogEntry entry, @Nullable Consumer<LogEntry> callback) Appends an entry received by a follower to the in-memory log and persists it as well, returning an indication whether or not a snapshot should be taken. -
Uses of LogEntry in org.opendaylight.controller.cluster.raft.base.messages
Methods in org.opendaylight.controller.cluster.raft.base.messages that return LogEntryModifier and TypeMethodDescriptionApplyState.entry()Returns the value of theentryrecord component.Constructors in org.opendaylight.controller.cluster.raft.base.messages with parameters of type LogEntryModifierConstructorDescriptionApplyState(@Nullable Identifier identifier, LogEntry entry) Creates an instance of aApplyStaterecord class. -
Uses of LogEntry in org.opendaylight.controller.cluster.raft.messages
Methods in org.opendaylight.controller.cluster.raft.messages that return types with arguments of type LogEntryConstructor parameters in org.opendaylight.controller.cluster.raft.messages with type arguments of type LogEntryModifierConstructorDescriptionAppendEntries(long term, @NonNull String leaderId, long prevLogIndex, long prevLogTerm, @NonNull List<? extends @NonNull LogEntry> entries, long leaderCommit, long replicatedToAllIndex, short payloadVersion) AppendEntries(long term, @NonNull String leaderId, long prevLogIndex, long prevLogTerm, @NonNull List<? extends @NonNull LogEntry> entries, long leaderCommit, long replicatedToAllIndex, short payloadVersion, short recipientRaftVersion, @Nullable String leaderAddress) -
Uses of LogEntry in org.opendaylight.controller.cluster.raft.persisted
Classes in org.opendaylight.controller.cluster.raft.persisted that implement LogEntryMethods in org.opendaylight.controller.cluster.raft.persisted that return types with arguments of type LogEntryMethods in org.opendaylight.controller.cluster.raft.persisted with parameters of type LogEntryMethod parameters in org.opendaylight.controller.cluster.raft.persisted with type arguments of type LogEntryModifier and TypeMethodDescriptionstatic SnapshotSnapshot.create(@Nullable Snapshot.State state, List<LogEntry> entries, long lastIndex, long lastTerm, long lastAppliedIndex, long lastAppliedTerm, TermInfo termInfo, @Nullable VotingConfig serverConfig) -
Uses of LogEntry in org.opendaylight.controller.cluster.raft.spi
Classes in org.opendaylight.controller.cluster.raft.spi that implement LogEntryMethods in org.opendaylight.controller.cluster.raft.spi that return LogEntryModifier and TypeMethodDescriptionfinal LogEntryEntryJournal.JournalEntry.toLogEntry(RestrictedObjectStreams objectStreams) Convert thisEntryJournal.JournalEntryinto aLogEntryby interpretingEntryJournal.JournalEntry.openCommandStream()as a stream comtainingcommand()serialized via Java serialization of itsStateMachineCommand.toSerialForm().Methods in org.opendaylight.controller.cluster.raft.spi that return types with arguments of type LogEntryModifier and TypeMethodDescriptionRaftSnapshot.unappliedEntries()Returns the value of theunappliedEntriesrecord component.Methods in org.opendaylight.controller.cluster.raft.spi with parameters of type LogEntryModifier and TypeMethodDescriptionlongEntryJournal.appendEntry(LogEntry entry) Append an entry at the currentjournalIndex.longEntryJournalV1.appendEntry(LogEntry entry) voidJournalWriteTask.appendEntry(LogEntry entry, RaftCallback<Long> callback) Append a log entry to the journal.static DefaultLogEntrystatic voidDefaultLogEntry.writeTo(LogEntry entry, ObjectOutput out) Method parameters in org.opendaylight.controller.cluster.raft.spi with type arguments of type LogEntryModifier and TypeMethodDescriptionabstract CloseableSnapshotFileFormat.createNew(Path file, Instant timestamp, EntryInfo lastIncluded, @Nullable VotingConfig votingConfig, CompressionType entryCompress, List<LogEntry> unappliedEntries, CompressionType stateCompress, @Nullable StateSnapshot.ToStorage<?> state) Create a file of this format with the content of specified snapshot.Constructor parameters in org.opendaylight.controller.cluster.raft.spi with type arguments of type LogEntryModifierConstructorDescriptionRaftSnapshot(@Nullable VotingConfig votingConfig, List<LogEntry> unappliedEntries) Creates an instance of aRaftSnapshotrecord class.