Example usage for Java org.apache.cassandra.io.util SequentialWriter fields, constructors, methods, implement or subclass
The text is from its open source code.
SequentialWriter(File file, SequentialWriterOption option, boolean strictFlushing) Create SequentialWriter for given file with specific writer option. |
void | close() |
String | getPath() |
long | length() |
DataPosition | mark() |
void | resetAndTruncate(DataPosition mark) Drops all buffered data that's past the limits of our new file mark + buffer capacity, or syncs and truncates the underlying file to the marked position |
void | sync() Synchronize file contents with disk. |
void | write(byte[] b) |