@Override
  public int getNumThreads() {
    return slots == null ? 0 : slots.length;
  }
Used to construct the name of the log directory for master procedures
hbase-procedure/src/main/java/org/apache/hadoop/hbase/procedure2/store/wal/WALProcedureStore.java