
public class DoubleWriteLogGL extends Object implements DoubleWriteLog
| Modifier and Type | Field and Description |
|---|---|
static String |
EXTENSION
Stands for "double write log"
|
| Constructor and Description |
|---|
DoubleWriteLogGL(long maxSegSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
endCheckpoint() |
OPointer |
loadPage(int fileId,
int pageIndex,
OByteBufferPool bufferPool) |
void |
open(String storageName,
Path storagePath,
int pageSize) |
void |
restoreModeOff() |
void |
restoreModeOn() |
void |
startCheckpoint() |
void |
truncate() |
boolean |
write(ByteBuffer[] buffers,
int[] fileIds,
int[] pageIndexes) |
public static final String EXTENSION
public void open(String storageName, Path storagePath, int pageSize) throws IOException
open in interface DoubleWriteLogIOExceptionpublic boolean write(ByteBuffer[] buffers, int[] fileIds, int[] pageIndexes) throws IOException
write in interface DoubleWriteLogIOExceptionpublic void truncate()
throws IOException
truncate in interface DoubleWriteLogIOExceptionpublic OPointer loadPage(int fileId, int pageIndex, OByteBufferPool bufferPool) throws IOException
loadPage in interface DoubleWriteLogIOExceptionpublic void restoreModeOn()
throws IOException
restoreModeOn in interface DoubleWriteLogIOExceptionpublic void restoreModeOff()
restoreModeOff in interface DoubleWriteLogpublic void close()
throws IOException
close in interface DoubleWriteLogIOExceptionpublic void startCheckpoint()
throws IOException
startCheckpoint in interface DoubleWriteLogIOExceptionpublic void endCheckpoint()
endCheckpoint in interface DoubleWriteLogCopyright © 2009–2025 OrientDB. All rights reserved.