Package org.opendaylight.raft.spi
Class PlainSnapshotSource
java.lang.Object
org.opendaylight.raft.spi.SnapshotSource
org.opendaylight.raft.spi.PlainSnapshotSource
A
SnapshotSource
corresponding directly to the serialization format of a snapshot.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the equivalent of this source as a PlainSnapshotSource.Methods inherited from class org.opendaylight.raft.spi.SnapshotSource
io, toString
-
Constructor Details
-
PlainSnapshotSource
Default constructor.- Parameters:
io
- theStreamSource
backing thisPlainSnapshotSource
.
-
-
Method Details
-
toPlainSource
Description copied from class:SnapshotSource
Returns the equivalent of this source as a PlainSnapshotSource.- Specified by:
toPlainSource
in classSnapshotSource
- Returns:
- the equivalent of this source as a PlainSnapshotSource
-