Uses of Interface
org.opendaylight.raft.spi.SizedStreamSource
Packages that use SizedStreamSource
Package
Description
Classes that are helpful for implementing RAFT.
-
Uses of SizedStreamSource in org.opendaylight.controller.cluster.messaging
Methods in org.opendaylight.controller.cluster.messaging that return SizedStreamSourceModifier and TypeMethodDescriptionAssembledMessageState.getAssembledBytes()
Returns the assembled bytes as a ByteSource. -
Uses of SizedStreamSource in org.opendaylight.raft.spi
Classes in org.opendaylight.raft.spi that implement SizedStreamSourceModifier and TypeClassDescriptionclass
ASizedStreamSource
providing access to a slice of a regular file, similar to aByteBuffer
.class
The moral equivalent of abyte[]
, but perhaps allocated in chunks so as to be GC-friendly.final class
AnAbstractFileStreamSource
backed by an explicitly-managed file.final class
AnAbstractFileStreamSource
backed by aTransientFile
.Methods in org.opendaylight.raft.spi that return SizedStreamSourceModifier and TypeMethodDescriptiondefault SizedStreamSource
SizedStreamSource.toSizedStreamSource()
StreamSource.toSizedStreamSource()
Return theSizedStreamSource
equivalent of thisStreamSource
.@NonNull SizedStreamSource
FileBackedOutputStream.toStreamSource()
Returns a readableSizedStreamSource
view of the data that has been written to this stream.