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