public class ConfigWatchService
extends java.lang.Object
implements java.io.Closeable
| 构造器和说明 |
|---|
ConfigWatchService(org.springframework.cloud.context.refresh.ContextRefresher refresher,
org.springframework.core.env.Environment environment,
ConfigClientProperties clientProperties) |
public ConfigWatchService(org.springframework.cloud.context.refresh.ContextRefresher refresher,
org.springframework.core.env.Environment environment,
ConfigClientProperties clientProperties)
@PostConstruct public void start()
@Scheduled(initialDelayString="${duic.spring.cloud.config.watch.initialDelay:60000}",
fixedDelayString="${duic.spring.cloud.config.watch.fixedDelay:60000}")
public void watch()
public void close()
throws java.io.IOException
close 在接口中 java.io.Closeableclose 在接口中 java.lang.AutoCloseablejava.io.IOException