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- theStreamSourcebacking thisPlainSnapshotSource.
-
-
Method Details
-
toPlainSource
Description copied from class:SnapshotSourceReturns the equivalent of this source as a PlainSnapshotSource.- Specified by:
toPlainSourcein classSnapshotSource- Returns:
- the equivalent of this source as a PlainSnapshotSource
-