@Override
  public int compareTo(final Procedure<TEnvironment> other) {
    return Long.compare(getProcId(), other.getProcId());
  }
Internal method called by the ProcedureExecutor that starts the user-level code releaseLock().
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/Procedure.java