public class ZenPingService extends AbstractLifecycleComponent<ZenPing> implements ZenPing
ZenPing.PingCollection, ZenPing.PingListener, ZenPing.PingResponselifecycledeprecationLogger, 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, stoplogDeprecatedSetting, logRemovedSetting, nodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclosepublic void setPingContextProvider(PingContextProvider contextProvider)
setPingContextProvider in interface ZenPingprotected 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–2017. All rights reserved.