public interface RawLog extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the resource regardless of if
free() has succeeded or not. |
String |
fileName()
Get the fully qualified file name for the log file.
|
boolean |
free()
Free the mapped buffers and delete the file.
|
UnsafeBuffer |
metaData()
The meta data storage for the overall log.
|
ByteBuffer[] |
sliceTerms()
Slice the underlying buffer to provide an array of term buffers in order.
|
UnsafeBuffer[] |
termBuffers()
An array of term buffer partitions.
|
int |
termLength()
The length of each term in bytes.
|
int termLength()
UnsafeBuffer[] termBuffers()
UnsafeBuffer metaData()
ByteBuffer[] sliceTerms()
String fileName()
boolean free()
void close()
free() has succeeded or not.close in interface AutoCloseableCopyright © 2014-2023 Real Logic Limited. All Rights Reserved.