public class DoubleWriteLogNoOP extends Object implements DoubleWriteLog
Constructor and Description |
---|
DoubleWriteLogNoOP() |
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[] fileId,
int[] pageIndex) |
public boolean write(ByteBuffer[] buffers, int[] fileId, int[] pageIndex)
write
in interface DoubleWriteLog
public void truncate()
truncate
in interface DoubleWriteLog
public void open(String storageName, Path storagePath, int pageSize)
open
in interface DoubleWriteLog
public OPointer loadPage(int fileId, int pageIndex, OByteBufferPool bufferPool)
loadPage
in interface DoubleWriteLog
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()
startCheckpoint
in interface DoubleWriteLog
public void endCheckpoint()
endCheckpoint
in interface DoubleWriteLog
Copyright © 2009–2020 OrientDB. All rights reserved.