public class RollingEventLogSection
extends java.lang.Object
Constructor and Description |
---|
RollingEventLogSection(java.nio.channels.FileChannel fileChannel,
long offset,
long entryCount,
long logBufferSize,
int recordSize) |
Modifier and Type | Method and Description |
---|---|
void |
clear(int logId) |
void |
close() |
static int |
CommitEntrySize() |
static int |
Committed() |
static int |
Dirty() |
static int |
Empty() |
static long |
HeadPointerOffset() |
static int |
Live() |
static long |
LogOffset() |
static long |
LogStateOffset() |
void |
markLive(int logId) |
void |
markSnapshot(int logId) |
static long |
RecordsOffset() |
static int |
Snapshot() |
void |
write(int logId,
java.nio.ByteBuffer recordBuffer) |
public RollingEventLogSection(java.nio.channels.FileChannel fileChannel, long offset, long entryCount, long logBufferSize, int recordSize)
public static long HeadPointerOffset()
public static long LogStateOffset()
public static long RecordsOffset()
public static long LogOffset()
public static int Empty()
public static int Live()
public static int Snapshot()
public static int Committed()
public static int Dirty()
public static int CommitEntrySize()
public void clear(int logId)
public void write(int logId, java.nio.ByteBuffer recordBuffer)
public void markSnapshot(int logId)
public void markLive(int logId)
public void close()