Class DoubleWriteLogGL
java.lang.Object
com.orientechnologies.orient.core.storage.cache.local.doublewritelog.DoubleWriteLogGL
- All Implemented Interfaces:
DoubleWriteLog
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDoubleWriteLogGL(long maxSegSize) DoubleWriteLogGL(long maxSegSize, int blockSize) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidloadPage(int fileId, int pageIndex, OByteBufferPool bufferPool) voidvoidvoidvoidvoidtruncate()booleanwrite(ByteBuffer[] buffers, int[] fileIds, int[] pageIndexes)
-
Field Details
-
EXTENSION
Stands for "double write log"- See Also:
-
-
Constructor Details
-
DoubleWriteLogGL
public DoubleWriteLogGL(long maxSegSize) -
DoubleWriteLogGL
public DoubleWriteLogGL(long maxSegSize, int blockSize)
-
-
Method Details
-
open
- Specified by:
openin interfaceDoubleWriteLog- Throws:
IOException
-
write
- Specified by:
writein interfaceDoubleWriteLog- Throws:
IOException
-
truncate
- Specified by:
truncatein interfaceDoubleWriteLog- Throws:
IOException
-
loadPage
- Specified by:
loadPagein interfaceDoubleWriteLog- Throws:
IOException
-
restoreModeOn
- Specified by:
restoreModeOnin interfaceDoubleWriteLog- Throws:
IOException
-
restoreModeOff
public void restoreModeOff()- Specified by:
restoreModeOffin interfaceDoubleWriteLog
-
close
- Specified by:
closein interfaceDoubleWriteLog- Throws:
IOException
-
startCheckpoint
- Specified by:
startCheckpointin interfaceDoubleWriteLog- Throws:
IOException
-
endCheckpoint
public void endCheckpoint()- Specified by:
endCheckpointin interfaceDoubleWriteLog
-