接口的使用
com.alibaba.nacos.api.config.listener.FuzzyWatchEventWatcher
使用FuzzyWatchEventWatcher的程序包
-
com.alibaba.nacos.api.config中FuzzyWatchEventWatcher的使用
修饰符和类型方法说明voidConfigService.cancelFuzzyWatch(String groupNamePattern, FuzzyWatchEventWatcher watcher) Cancel fuzzy listen and remove the event listener for a specified fixed group name.voidConfigService.cancelFuzzyWatch(String dataIdPattern, String groupNamePattern, FuzzyWatchEventWatcher watcher) Cancel fuzzy listen and remove the event listener for a specified service name pattern and fixed group name.voidConfigService.fuzzyWatch(String groupNamePattern, FuzzyWatchEventWatcher watcher) Add a fuzzy listener to the configuration.voidConfigService.fuzzyWatch(String dataIdPattern, String groupNamePattern, FuzzyWatchEventWatcher watcher) Add a fuzzy listener to the configuration.ConfigService.fuzzyWatchWithGroupKeys(String groupNamePattern, FuzzyWatchEventWatcher watcher) Add a fuzzy listener to the configuration and retrieve all configs that match the specified fixed group name.ConfigService.fuzzyWatchWithGroupKeys(String dataIdPattern, String groupNamePattern, FuzzyWatchEventWatcher watcher) Add a fuzzy listener to the configuration and retrieve all configs that match the specified dataId pattern and fixed group name. -
com.alibaba.nacos.api.config.listener中FuzzyWatchEventWatcher的使用
修饰符和类型类说明classAbstractFuzzyListenListener is an abstract class that provides basic functionality for listening to fuzzy configuration changes in Nacos.