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 TypeMethodDescriptionint
void
close()
int
lock()
void
readBlock
(int blockId, byte[] bytes) void
void
writeBlock
(int blockId, byte[] bytes)
-
Method Details
-
allocBlock
- Specified by:
allocBlock
in interfaceorg.eclipse.birt.core.btree.BTreeFile
- Throws:
IOException
-
getTotalBlock
- Specified by:
getTotalBlock
in interfaceorg.eclipse.birt.core.btree.BTreeFile
- Throws:
IOException
-
lock
- Specified by:
lock
in interfaceorg.eclipse.birt.core.btree.BTreeFile
- Throws:
IOException
-
readBlock
- Specified by:
readBlock
in interfaceorg.eclipse.birt.core.btree.BTreeFile
- Throws:
IOException
-
unlock
- Specified by:
unlock
in interfaceorg.eclipse.birt.core.btree.BTreeFile
- Throws:
IOException
-
writeBlock
- Specified by:
writeBlock
in interfaceorg.eclipse.birt.core.btree.BTreeFile
- Throws:
IOException
-
close
- Specified by:
close
in interfaceorg.eclipse.birt.core.btree.BTreeFile
- Throws:
IOException
-