public List<String> getTransferringTriggers() {
    return triggerTable.values().stream()
        .filter(
            triggerInformation ->
                triggerInformation.getTriggerState() == TTriggerState.TRANSFERRING)
        .map(TriggerInformation::getTriggerName)
        .collect(Collectors.toList());
  }
This Class used to save the information of Triggers and implements methods of manipulate it.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/trigger/TriggerTable.java