public class DelayedPageReplacementTracker extends Object
| Constructor and Description |
|---|
DelayedPageReplacementTracker(int pageSize,
PageStoreWriter flushDirtyPage,
IgniteLogger log,
int segmentCnt) |
| Modifier and Type | Method and Description |
|---|---|
DelayedDirtyPageStoreWrite |
delayedPageWrite() |
void |
lock(FullPageId id) |
void |
unlock(FullPageId id) |
void |
waitUnlock(FullPageId id)
Method is returned when page is available to be loaded from store, or waits for replacement finish.
|
public DelayedPageReplacementTracker(int pageSize,
PageStoreWriter flushDirtyPage,
IgniteLogger log,
int segmentCnt)
pageSize - Page size.flushDirtyPage - Flush dirty page.log - Logger.segmentCnt - Segments count.public DelayedDirtyPageStoreWrite delayedPageWrite()
public void lock(FullPageId id)
id - full page ID to lock from readpublic void waitUnlock(FullPageId id)
id - full page ID to be loaded from store.public void unlock(FullPageId id)
id - full page ID, which write has been finished, it is available for reading.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023