public void wakeEvents(ProcedureEvent[] events) {
    schedLock();
    try {
      for (ProcedureEvent event : events) {
        if (event == null) {
          continue;
        }
        event.wakeInternal(this);
      }
    } finally {
      schedUnlock();
    }
  }
Wake up all the given events. Note that we first take scheduler lock and then wakeInternal()
synchronizes on the event. Access should remain package-private. Use ProcedureEvent class to
wake/suspend events.
@param events the list of events to wake
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/AbstractProcedureScheduler.java