| Modifier and Type | Method and Description |
|---|---|
void |
addFreePage(long pageId) |
protected BPlusTree.Result |
finishOrLockTail(long pageId,
long page,
long backId,
long fwdId,
int lvl)
Method that's invoked when operation goes up from the recursion and
BPlusTree.Get.isFinished() returns false. |
protected BPlusTree.Result |
finishTail()
Process tail and finish.
|
boolean |
isEmpty() |
long |
pollFreePage() |
rowpublic long pollFreePage()
pollFreePage in interface ReuseBag0 if empty.public void addFreePage(long pageId)
addFreePage in interface ReuseBagpageId - Free page ID for reuse.public boolean isEmpty()
protected BPlusTree.Result finishTail() throws IgniteCheckedException
finishOrLockTail(long, long, long, long, int) but doesn't add the
page to the tail.IgniteCheckedException - If failed.protected BPlusTree.Result finishOrLockTail(long pageId, long page, long backId, long fwdId, int lvl) throws IgniteCheckedException
BPlusTree.Get.isFinished() returns false.
Either finishes the operation or locks the page for further processing on another level.
Returns BPlusTree.Result.FOUND if operation has finished and BPlusTree.Get.isFinished() returns true now.
Returns BPlusTree.Result.RETRY if operation should be retried.
Returns BPlusTree.Result.NOT_FOUND if operation has added the page to tail, meaning that operation can't be
finished on current level.pageId - Page ID.page - Page pointer.backId - Back page ID.fwdId - Forward ID.lvl - Level.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022