Uses of Class
org.opendaylight.controller.cluster.raft.spi.RaftCallback
Packages that use RaftCallback
-
Uses of RaftCallback in org.opendaylight.controller.cluster.raft.spi
Subclasses of RaftCallback in org.opendaylight.controller.cluster.raft.spiFields in org.opendaylight.controller.cluster.raft.spi declared as RaftCallbackMethods in org.opendaylight.controller.cluster.raft.spi with parameters of type RaftCallbackModifier and TypeMethodDescriptionvoid
JournalWriteTask.appendEntry
(LogEntry entry, RaftCallback<Long> callback) Append a log entry to the journal.default void
EntryStore.persistEntry
(ReplicatedLogEntry entry, RaftCallback<Long> callback) Persists an entry to the applicable journal synchronously.void
ForwardingEntryStore.persistEntry
(ReplicatedLogEntry entry, RaftCallback<Long> callback) void
ForwardingSnapshotStore.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) final void
RaftStorage.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) void
SnapshotStore.saveSnapshot
(RaftSnapshot raftSnapshot, EntryInfo lastIncluded, @Nullable StateSnapshot.ToStorage<?> snapshot, RaftCallback<Instant> callback) Saves a snapshot asynchronously and delete any previous snapshots.void
DisabledRaftStorage.startPersistEntry
(ReplicatedLogEntry entry, RaftCallback<Long> callback) void
EnabledRaftStorage.startPersistEntry
(ReplicatedLogEntry entry, RaftCallback<Long> callback) void
EntryStore.startPersistEntry
(ReplicatedLogEntry entry, RaftCallback<Long> callback) Persists an entry to the applicable journal asynchronously.void
ForwardingEntryStore.startPersistEntry
(ReplicatedLogEntry entry, RaftCallback<Long> callback) default void
ImmediateEntryStore.startPersistEntry
(ReplicatedLogEntry entry, RaftCallback<Long> callback) void
ForwardingSnapshotStore.streamToInstall
(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) final void
RaftStorage.streamToInstall
(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) void
SnapshotStore.streamToInstall
(EntryInfo lastIncluded, StateSnapshot.ToStorage<?> snapshot, RaftCallback<InstallableSnapshot> callback) Serialize aStateSnapshot.ToStorage
snapshot and make the result available as anInstallableSnapshot
to the specified callback.Constructors in org.opendaylight.controller.cluster.raft.spi with parameters of type RaftCallbackModifierConstructorDescriptionprotected
CancellableTask
(RaftCallback<T> callback) protected
DecoratingRaftCallback
(RaftCallback<T> delegate) Default constructor.