Package org.opendaylight.controller.cluster.raft.spi
@Export
package org.opendaylight.controller.cluster.raft.spi
Various provider-level APIs for plugging into
RaftActor
.-
ClassDescriptionAbstract base class for
RaftCommand
implementations.Abstract base class forRaftCommand
implementations.ARaftCallback
decorating a backing callback.DefaultLogEntry
implementation.ARaftStorage
backing non-persistent mode ofRaftActor
operation.ARaftStorage
backing persistent mode ofRaftActor
operation.Interface for RAFT log entry persistence implementations.A handle to aLogEntry
stored in the journal.A reader-side interface to log entries being stored in this journal.Baseline implementation of a RAFT log journal.Interface to a access and manageStateMachineCommand
-bearing entries withEntryMeta
.An immediateEntryStore
.An immutableUnsignedLongSet
.A single entry in the RAFT log.A mutableUnsignedLongSet
.RaftCallback<T>A simple callback interface.AnStateMachineCommand
internal to the RAFT implementation, contributing towards forward progress in RAFT journal maintenance.Atomic information retained in a snapshot file.Internal interface towards storage entities.Meeting point for dispatching completions fromRaftStorage
callbacks in the context of an actor.Access to the contents of a RAFT snapshot file.All supported snapshot file formats.Interface to a access and manageSnapshotFile
s.An individual change in RAFT-replicated user state.A command for the RAFT Finite State Machine.StateMachineCommand.Reader<T extends StateMachineCommand>Read aStateMachineCommand
from aDataInput
.StateMachineCommand.Support<T extends StateMachineCommand>A combination of aStateMachineCommand.Reader
and aStateMachineCommand.Writer
for a concreteStateMachineCommand
type, as indicated byStateMachineCommand.Support.commandType()
.StateMachineCommand.Writer<T extends StateMachineCommand>Write aStateMachineCommand
to aDataOutput
.Marker interface for objects representing a snapshot of RAFT-replicated user state.StateSnapshot.Reader<T extends StateSnapshot>StateSnapshot.Support<T extends StateSnapshot>A combination of aStateSnapshot.Reader
and aStateSnapshot.Writer
for a concreteStateSnapshot
type, as indicated byStateSnapshot.Support.snapshotType()
.StateSnapshot.ToStorage<T extends StateSnapshot>AStateSnapshot
on its way to storage.StateSnapshot.Writer<T extends StateSnapshot>Storage forTermInfo
.A more efficient equivalent ofImmutableMap<UnsignedLong, Boolean>
.A class holding an equivalent ofSet<UnsignedLong>
.A single entry tracked in this set.