public class ZenPingService extends AbstractLifecycleComponent
lifecycle
deprecationLogger, logger, settings
Constructor and Description |
---|
ZenPingService(Settings settings,
java.util.Set<ZenPing> zenPings) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
ZenPing.PingCollection |
pingAndWait(TimeValue timeout) |
void |
setPingContextProvider(PingContextProvider contextProvider) |
java.util.List<ZenPing> |
zenPings() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
logDeprecatedSetting, logRemovedSetting, nodeName
public java.util.List<ZenPing> zenPings()
public void setPingContextProvider(PingContextProvider contextProvider)
protected void doStart()
doStart
in class AbstractLifecycleComponent
protected void doStop()
doStop
in class AbstractLifecycleComponent
protected void doClose()
doClose
in class AbstractLifecycleComponent
public ZenPing.PingCollection pingAndWait(TimeValue timeout)