public class NacosContextRefresher extends Object implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>, org.springframework.context.ApplicationContextAware
| 构造器和说明 |
|---|
NacosContextRefresher(NacosRefreshProperties refreshProperties,
NacosRefreshHistory refreshHistory,
com.alibaba.nacos.api.config.ConfigService configService) |
| 限定符和类型 | 方法和说明 |
|---|---|
static long |
getRefreshCount() |
void |
onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event) |
static void |
refreshCountIncrement() |
void |
setApplicationContext(org.springframework.context.ApplicationContext applicationContext) |
public NacosContextRefresher(NacosRefreshProperties refreshProperties, NacosRefreshHistory refreshHistory, com.alibaba.nacos.api.config.ConfigService configService)
public void onApplicationEvent(org.springframework.boot.context.event.ApplicationReadyEvent event)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
setApplicationContext 在接口中 org.springframework.context.ApplicationContextAwarepublic static long getRefreshCount()
public static void refreshCountIncrement()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.