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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.opendaylight.raft.spi.SizedStreamSource
toSizedStreamSource
Methods 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:AbstractFileStreamSource
Returns this source's file path.- Specified by:
file
in classAbstractFileStreamSource
- Returns:
- this source's file path
-