Interface SynchronyLockManager<L extends SynchronyLockManager.SynchronyContentLock>
- All Known Implementing Classes:
DefaultSynchronyLockManager
public interface SynchronyLockManager<L extends SynchronyLockManager.SynchronyContentLock>
Locks a set of pages and flushes all caches related to those pages.
This operation is required in order to delete synchrony data from DB.
- Since:
- 7.0.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionlockAllContent
(long timeout) Lock all hubs.lockContent
(Collection<Long> contentIds, Long timeout) Tells synchrony to lock these pages
-
Method Details
-
lockContent
Tells synchrony to lock these pages -
lockAllContent
Lock all hubs. Caller should verify if Synchrony is running.- Parameters:
timeout
- lock timeout
-