@SuppressWarnings("rawtypes")
  public Stream<Procedure> filterWaitingQueue(Predicate<Procedure> predicate) {
    return queue.stream().filter(predicate);
  }
Returns whether we should wake the procedures waiting on the lock here.
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/LockAndQueue.java