Package org.opendaylight.raft.spi
Class FileStreamSource
java.lang.Object
org.opendaylight.raft.spi.AbstractFileStreamSource
org.opendaylight.raft.spi.FileStreamSource
- All Implemented Interfaces:
SizedStreamSource,StreamSource
An
AbstractFileStreamSource backed by an explicitly-managed file.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.opendaylight.raft.spi.AbstractFileStreamSource
limit, openBufferedStream, openStream, position, size, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.opendaylight.raft.spi.SizedStreamSource
toSizedStreamSourceMethods inherited from interface org.opendaylight.raft.spi.StreamSource
openDataInput
-
Constructor Details
-
FileStreamSource
Default constructor.- Parameters:
file- backing fileposition- position of first bytelimit- position of next-to-last byte
-
-
Method Details
-
file
Description copied from class:AbstractFileStreamSourceReturns this source's file path.- Specified by:
filein classAbstractFileStreamSource- Returns:
- this source's file path
-