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 Modifier and Type Interface Description static interface
SynchronyLockManager.SynchronyContentLock
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description L
lockAllContent(long timeout)
Lock all hubs.L
lockContent(Collection<Long> contentIds, Long timeout)
Tells synchrony to lock these pages
-
-
-
Method Detail
-
lockContent
L lockContent(Collection<Long> contentIds, Long timeout)
Tells synchrony to lock these pages
-
lockAllContent
L lockAllContent(long timeout)
Lock all hubs. Caller should verify if Synchrony is running.- Parameters:
timeout
- lock timeout
-
-