Package org.eclipse.birt.core.util
Class BTreeUtil.ReaderTreeFile
java.lang.Object
org.eclipse.birt.core.util.BTreeUtil.ReaderTreeFile
- All Implemented Interfaces:
org.eclipse.birt.core.btree.BTreeConstants,org.eclipse.birt.core.btree.BTreeFile
- Enclosing class:
- BTreeUtil
public static class BTreeUtil.ReaderTreeFile
extends Object
implements org.eclipse.birt.core.btree.BTreeFile
-
Field Summary
Fields inherited from interface org.eclipse.birt.core.btree.BTreeConstants
BLOCK_SIZE, BTREE_VERSION_0, HEAD_BLOCK_ID, MAGIC_TAG, MAX_NODE_SIZE, MIN_ENTRY_COUNT, NODE_EXTRA, NODE_INDEX, NODE_LEAF, NODE_VALUE, ROOT_BLOCK_ID -
Method Summary
Modifier and TypeMethodDescriptionintvoidclose()intlock()voidreadBlock(int blockId, byte[] bytes) voidvoidwriteBlock(int blockId, byte[] bytes)
-
Method Details
-
allocBlock
- Specified by:
allocBlockin interfaceorg.eclipse.birt.core.btree.BTreeFile- Throws:
IOException
-
getTotalBlock
- Specified by:
getTotalBlockin interfaceorg.eclipse.birt.core.btree.BTreeFile- Throws:
IOException
-
lock
- Specified by:
lockin interfaceorg.eclipse.birt.core.btree.BTreeFile- Throws:
IOException
-
readBlock
- Specified by:
readBlockin interfaceorg.eclipse.birt.core.btree.BTreeFile- Throws:
IOException
-
unlock
- Specified by:
unlockin interfaceorg.eclipse.birt.core.btree.BTreeFile- Throws:
IOException
-
writeBlock
- Specified by:
writeBlockin interfaceorg.eclipse.birt.core.btree.BTreeFile- Throws:
IOException
-
close
- Specified by:
closein interfaceorg.eclipse.birt.core.btree.BTreeFile- Throws:
IOException
-