public interface PageSupport
| Modifier and Type | Method and Description |
|---|---|
long |
acquirePage(int grpId,
long pageId)
Gets the page absolute pointer associated with the given page ID.
|
boolean |
isDirty(int grpId,
long pageId,
long page) |
long |
readLock(int grpId,
long pageId,
long page) |
long |
readLockForce(int grpId,
long pageId,
long page)
Obtains read lock without checking page tag.
|
void |
readUnlock(int grpId,
long pageId,
long page)
Releases locked page.
|
void |
releasePage(int grpId,
long pageId,
long page) |
long |
tryWriteLock(int grpId,
long pageId,
long page) |
long |
writeLock(int grpId,
long pageId,
long page) |
void |
writeUnlock(int grpId,
long pageId,
long page,
Boolean walPlc,
boolean dirtyFlag)
Releases locked page.
|
long acquirePage(int grpId,
long pageId)
throws IgniteCheckedException
releasePage(int, long, long). This method will allocate page with given ID if it doesn't
exist.grpId - Cache group ID.pageId - Page ID.IgniteCheckedException - If failed.void releasePage(int grpId,
long pageId,
long page)
grpId - Cache group ID.pageId - Page ID to release.page - Page pointer.long readLock(int grpId,
long pageId,
long page)
grpId - Cache group ID.pageId - Page ID.page - Page pointer.long readLockForce(int grpId,
long pageId,
long page)
grpId - Cache group ID.pageId - Page ID.page - Page pointer.void readUnlock(int grpId,
long pageId,
long page)
grpId - Cache group ID.pageId - Page ID.page - Page pointer.long writeLock(int grpId,
long pageId,
long page)
grpId - Cache group ID.pageId - Page ID.page - Page pointer.0L if attempt to take the write lock failed.long tryWriteLock(int grpId,
long pageId,
long page)
grpId - Cache group ID.pageId - Page ID.page - Page pointer.0L if attempt to take the write lock failed.void writeUnlock(int grpId,
long pageId,
long page,
Boolean walPlc,
boolean dirtyFlag)
grpId - Cache group ID.pageId - Page ID.page - Page pointer.walPlc - True if page should be recorded to WAL, false if the page must not
be recorded and null for the default behavior.dirtyFlag - Determines whether the page was modified since the last checkpoint.boolean isDirty(int grpId,
long pageId,
long page)
grpId - Cache group ID.pageId - Page ID.page - Page pointer.True if the page is dirty.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018