mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
02.47.2007 855f77aec2c9ca6a91be51361673fda4b58b3adf
opendj-sdk/opends/src/server/org/opends/server/backends/task/TaskScheduler.java
@@ -1468,6 +1468,19 @@
  /**
   * Indicates whether the current thread already holds a lock on the scheduler.
   *
   * @return  {@code true} if the current thread holds the scheduler lock, or
   *          {@code false} if not.
   */
  boolean holdsSchedulerLock()
  {
    return schedulerLock.isHeldByCurrentThread();
  }
  /**
   * Attempts to acquire a write lock on the specified entry, trying as many
   * times as necessary until the lock has been acquired.
   *