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
  • Method Details

    • 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