public interface ReuseList
| Modifier and Type | Method and Description |
|---|---|
void |
addForRecycle(ReuseBag bag) |
long |
initRecycledPage(long pageId,
byte flag,
@Nullable PageIO initIO)
Converts recycled page id back to a usable id.
|
long |
recycledPagesCount() |
long |
takeRecycledPage() |
void addForRecycle(ReuseBag bag) throws IgniteCheckedException
bag - Reuse bag.IgniteCheckedException - If failed.long takeRecycledPage()
throws IgniteCheckedException
0 if none available.IgniteCheckedException - If failed.long recycledPagesCount()
throws IgniteCheckedException
IgniteCheckedException - If failed.long initRecycledPage(long pageId,
byte flag,
@Nullable
@Nullable PageIO initIO)
throws IgniteCheckedException
pageId - Id of the recycled page.flag - Flag value for the page. One of PageIdAllocator.FLAG_DATA, PageIdAllocator.FLAG_IDX
or PageIdAllocator.FLAG_AUX.initIO - Page IO to reinit reused page.IgniteCheckedException - If failed.FullPageId
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.10.0 Release Date : March 10 2021