when(queue.getReadLock()).thenReturn(lock.readLock()); setupQueue(queue, q, queueExprArray, idx); if (queue.getQueueName().equals(ROOT)) {
Resource partitionResource, String partitionToLookAt) { TempQueuePerPartition ret; ReadLock readLock = curQueue.getReadLock(); try {