public class NacosWatch extends Object implements org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.SmartLifecycle
| 构造器和说明 |
|---|
NacosWatch(NacosServiceManager nacosServiceManager,
NacosDiscoveryProperties properties) |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher) |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public NacosWatch(NacosServiceManager nacosServiceManager, NacosDiscoveryProperties properties)
public void setApplicationEventPublisher(org.springframework.context.ApplicationEventPublisher publisher)
setApplicationEventPublisher 在接口中 org.springframework.context.ApplicationEventPublisherAwarepublic boolean isAutoStartup()
isAutoStartup 在接口中 org.springframework.context.SmartLifecyclepublic void stop(Runnable callback)
stop 在接口中 org.springframework.context.SmartLifecyclepublic void start()
start 在接口中 org.springframework.context.Lifecyclepublic void stop()
stop 在接口中 org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning 在接口中 org.springframework.context.Lifecyclepublic int getPhase()
getPhase 在接口中 org.springframework.context.PhasedgetPhase 在接口中 org.springframework.context.SmartLifecycleCopyright © 2020 Pivotal Software, Inc.. All rights reserved.