public class TurbineLifecycle extends Object implements org.springframework.context.SmartLifecycle, org.springframework.core.Ordered
| Constructor and Description |
|---|
TurbineLifecycle(com.netflix.turbine.discovery.InstanceDiscovery instanceDiscovery,
com.netflix.turbine.monitor.cluster.ClusterMonitorFactory<?> factory) |
| Modifier and Type | Method and Description |
|---|---|
int |
getOrder() |
int |
getPhase() |
boolean |
isAutoStartup() |
boolean |
isRunning() |
void |
start() |
void |
stop() |
void |
stop(Runnable callback) |
public TurbineLifecycle(com.netflix.turbine.discovery.InstanceDiscovery instanceDiscovery,
com.netflix.turbine.monitor.cluster.ClusterMonitorFactory<?> factory)
public boolean isAutoStartup()
isAutoStartup in interface org.springframework.context.SmartLifecyclepublic void stop(Runnable callback)
stop in interface org.springframework.context.SmartLifecyclepublic void start()
start in interface org.springframework.context.Lifecyclepublic void stop()
stop in interface org.springframework.context.Lifecyclepublic boolean isRunning()
isRunning in interface org.springframework.context.Lifecyclepublic int getPhase()
getPhase in interface org.springframework.context.Phasedpublic int getOrder()
getOrder in interface org.springframework.core.OrderedCopyright © 2019 Pivotal Software, Inc.. All rights reserved.