class HealthConfigurator {
    static final String HEALTH_DETECTOR = "solon.health.detector";

    String detectorNamesStr;

    public HealthConfigurator() {
        detectorNamesStr = Solon.cfg().get(HEALTH_DETECTOR);
    }


    /**
     * 是否启用
     */
    public boolean isEnabled() {
        return Utils.isNotEmpty(detectorNamesStr);
    }

    /**
     * 配置
     */
    public void configure() throws Throwable {<FILL_FUNCTION_BODY>}
}

        Map<String, Detector> tmp = DetectorManager.getMore(detectorNamesStr.split(","));

        for (Map.Entry<String, Detector> kv : tmp.entrySet()) {
            kv.getValue().start();
            HealthChecker.addIndicator(kv.getKey(), kv.getValue());
        }
    
<no_super_class>