@Override
    public void close() {
        watchCache.forEach((key, configFileChangeListener) -> {
            if (Objects.nonNull(configFileChangeListener)) {
                final ConfigFile configFile = configFileService.getConfigFile(polarisConfig.getNamespace(), polarisConfig.getFileGroup(), key);
                configFile.removeChangeListener(configFileChangeListener);
            }
        });
    }
The type Polaris sync data service.
shenyu-sync-data-center/shenyu-sync-data-polaris/src/main/java/org/apache/shenyu/sync/data/polaris/PolarisSyncDataService.java