@Override
    public void run() {
      try {
        lock.lock();
        quotaResourceSynchronizer.lock(quotaResource);
        acquired.signalAll();
      } finally {
        lock.unlock();
      }

      try {
        lock.lock();
        quotaResourceSynchronizer.unlock(quotaResource);
        released.signalAll();
      } finally {
        lock.unlock();
      }
    }
Constructor for {@link LockUnlockSignalHelper}.
@param quotaResourceSynchronizer {@link QuotaResourceSynchronizer} object.
@param lock {@link ReentrantLock} object for signalling.
@param quotaResource {@link QuotaResource} object.
@param acquired {@link Condition} to signal when quota resource lock is acquired.
@param released {@link Condition} to signal when quota resource lock is released.
ambry-quota/src/test/java/com/github/ambry/quota/QuotaResourceSynchronizerTest.java