Class FileBackedOutputStream

java.lang.Object
java.io.OutputStream
org.opendaylight.raft.spi.FileBackedOutputStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
Direct Known Subclasses:
SharedFileBackedOutputStream

public class FileBackedOutputStream extends OutputStream
An OutputStream that starts buffering to a byte array, but switches to file buffering once the data reaches a configurable size. This class is thread-safe.
Author:
Thomas Pantelis