Class PipeTaskCoordinatorLock

java.lang.Object
org.apache.iotdb.confignode.manager.pipe.coordinator.task.PipeTaskCoordinatorLock

public class PipeTaskCoordinatorLock extends Object
PipeTaskCoordinatorLock is a cross thread lock for pipe task coordinator. It is used to ensure that only one thread can execute the pipe task coordinator at the same time.
  • Constructor Details

    • PipeTaskCoordinatorLock

      public PipeTaskCoordinatorLock()
  • Method Details

    • lock

      public void lock()
    • tryLock

      public boolean tryLock()
    • unlock

      public void unlock()
    • isLocked

      public boolean isLocked()