- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultPageLockManager
Lock manager for
PageAccessSynchronizer
responsible for locking and unlocking pages for
the duration of a request.-
Method Summary
Modifier and TypeMethodDescriptionvoid
lockPage
(int pageId) Acquire a lock to a pagevoid
Unlocks all pages locked by this threadvoid
unlockPage
(int pageId) Unlocks a single page locked by the current thread.
-
Method Details
-
lockPage
Acquire a lock to a page- Parameters:
pageId
- page id- Throws:
CouldNotLockPageException
- if lock could not be acquired
-
unlockAllPages
void unlockAllPages()Unlocks all pages locked by this thread -
unlockPage
Unlocks a single page locked by the current thread.- Parameters:
pageId
- the id of the page which should be unlocked.
-