Interface ClusterApplyLock

All Known Implementing Classes:
PessimisticClusterApplyLock

public interface ClusterApplyLock
Cluster-wide lock that serializes dynamic model applies across nodes.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    acquire(boolean wait)
    Takes the lock.
    void
    Releases the lock.
  • Method Details

    • acquire

      void acquire(boolean wait)
      Takes the lock.
      Parameters:
      wait - true to retry until the configured wait time has passed
      Throws:
      DynamicModelApplyLockedException - if the lock is held by another node
    • release

      void release()
      Releases the lock.