- <init>
Create a Record manager which will either create the underlying file or load an
existing one. If a f
- close
Close the RecordManager and flush everything on disk
- getManagedTree
Get one managed trees, knowing its name.
- manage
Manage a B-tree. The btree will be added and managed by this RecordManager. We
will create a new Roo
- getManagedTrees
Get the managed B-trees. We don't return the CopiedPage B-tree nor the B-tree of
B-trees.
- addInBtreeOfBtrees
Add a new tuple into the B-tree of B-trees.
- addInCopiedPagesBtree
Add a new tuple into the CopiedPages B-tree.
- beginTransaction
Starts a transaction
- checkOffset
Check the offset to be sure it's a valid one : * It's >= 0
* It's below the end of the file
* It's
- commit
Commits a transaction
- computeNbPages
Compute the number of pages needed to store some specific size of data.
- computePageNb
Compute the page in which we will store data given an offset, when we have a
list of pages.