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 DoubleWriteLog
IOException
public boolean write(ByteBuffer[] buffers, int[] fileIds, int[] pageIndexes) throws IOException
write
in interface DoubleWriteLog
IOException
public void truncate() throws IOException
truncate
in interface DoubleWriteLog
IOException
public OPointer loadPage(int fileId, int pageIndex, OByteBufferPool bufferPool) throws IOException
loadPage
in interface DoubleWriteLog
IOException
public void restoreModeOn() throws IOException
restoreModeOn
in interface DoubleWriteLog
IOException
public void restoreModeOff()
restoreModeOff
in interface DoubleWriteLog
public void close() throws IOException
close
in interface DoubleWriteLog
IOException
public void startCheckpoint() throws IOException
startCheckpoint
in interface DoubleWriteLog
IOException
public void endCheckpoint()
endCheckpoint
in interface DoubleWriteLog
Copyright © 2009–2020 OrientDB. All rights reserved.