void registerChecker(Predicate<RaftLogSummary> checker, TimeDuration interval) {
    final List<Predicate<RaftLogSummary>> checkers =
        snapshotArbitrators.computeIfAbsent(interval, i -> new CopyOnWriteArrayList<>());
    checkers.add(checker);
  }
Call this method to register checkers before {@link #start()}
iotdb-core/consensus/src/main/java/org/apache/iotdb/consensus/ratis/DiskGuardian.java