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.SmartLifecycle
public void stop(Runnable callback)
stop
in interface org.springframework.context.SmartLifecycle
public void start()
start
in interface org.springframework.context.Lifecycle
public void stop()
stop
in interface org.springframework.context.Lifecycle
public boolean isRunning()
isRunning
in interface org.springframework.context.Lifecycle
public int getPhase()
getPhase
in interface org.springframework.context.Phased
public int getOrder()
getOrder
in interface org.springframework.core.Ordered
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.