Package org.apache.wicket.page
Interface IPageLockManager
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
DefaultPageLockManager
public interface IPageLockManager extends Serializable
Lock manager forPageAccessSynchronizer
responsible for locking and unlocking pages for the duration of a request.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
lockPage(int pageId)
Acquire a lock to a pagevoid
unlockAllPages()
Unlocks all pages locked by this threadvoid
unlockPage(int pageId)
Unlocks a single page locked by the current thread.
-
-
-
Method Detail
-
lockPage
void lockPage(int pageId) throws CouldNotLockPageException
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
void unlockPage(int pageId)
Unlocks a single page locked by the current thread.- Parameters:
pageId
- the id of the page which should be unlocked.
-
-