- <init>
Creates output buffers and file object.
- close
- create
Create empty edits logs file.
- flush
- setReadyToFlush
All data that has been written to the stream so far will be flushed. New data
can be still written t
- flushAndSync
Flush ready buffer to persistent store. currentBuffer is not flushed as it
accumulates new log recor
- preallocate
- write
- writeHeader
Write header information for this EditLogFileOutputStream to the provided
DataOutputSream.
- getFile
Returns the file associated with this stream.
- setShouldSkipFsyncForTesting
For the purposes of unit tests, we don't need to actually write durably to disk.
So, we can skip the
- abort