public class ZenPingService extends AbstractLifecycleComponent<ZenPing> implements ZenPing
ZenPing.PingCollection, ZenPing.PingListener, ZenPing.PingResponse
lifecycle
deprecationLogger, logger, settings
Constructor and Description |
---|
ZenPingService(Settings settings,
Set<ZenPing> zenPings) |
Modifier and Type | Method and Description |
---|---|
protected void |
doClose() |
protected void |
doStart() |
protected void |
doStop() |
void |
ping(ZenPing.PingListener listener,
TimeValue timeout) |
ZenPing.PingResponse[] |
pingAndWait(TimeValue timeout) |
void |
setPingContextProvider(PingContextProvider contextProvider) |
List<ZenPing> |
zenPings() |
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stop
logDeprecatedSetting, logRemovedSetting, nodeName
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addLifecycleListener, lifecycleState, removeLifecycleListener, start, stop
close
public void setPingContextProvider(PingContextProvider contextProvider)
setPingContextProvider
in interface ZenPing
protected void doStart()
doStart
in class AbstractLifecycleComponent<ZenPing>
protected void doStop()
doStop
in class AbstractLifecycleComponent<ZenPing>
protected void doClose()
doClose
in class AbstractLifecycleComponent<ZenPing>
public ZenPing.PingResponse[] pingAndWait(TimeValue timeout)
public void ping(ZenPing.PingListener listener, TimeValue timeout)
Copyright © 2009–2016. All rights reserved.