public class ZenPingService extends AbstractLifecycleComponent<ZenPing > implements ZenPing
ZenPing.PingCollection , ZenPing.PingListener , ZenPing.PingResponse lifecyclecomponentSettings, logger, settings| Constructor and Description |
|---|
ZenPingService(Settings
|
ZenPingService(Settings
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose()
|
protected void |
doStart()
|
protected void |
doStop()
|
void |
ping(ZenPing
|
ZenPing |
pingAndWait(TimeValue
|
void |
setPingContextProvider(PingContextProvider
|
<any> |
zenPings()
|
void |
zenPings(<any> pings)
|
addLifecycleListener, close, lifecycleState, removeLifecycleListener, start, stopnodeNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLifecycleListener, lifecycleState, removeLifecycleListener, start, stopclosepublic ZenPingService(Settingssettings, ThreadPool threadPool, TransportService transportService, ClusterName clusterName, NetworkService networkService, ElectMasterService electMasterService, @Nullable Set <UnicastHostsProvider > unicastHostsProviders)
@Inject public ZenPingService(Settingssettings, ThreadPool threadPool, TransportService transportService, ClusterName clusterName, NetworkService networkService, Version version, ElectMasterService electMasterService, @Nullable Set <UnicastHostsProvider > unicastHostsProviders)
public <any> zenPings()
public void zenPings(<any> pings)
public void setPingContextProvider(PingContextProvidercontextProvider)
protected void doStart()
throws ElasticsearchException
doStart in class
AbstractLifecycleComponent<ZenPing>
ElasticsearchException
protected void doStop()
throws ElasticsearchException
doStop in class
AbstractLifecycleComponent<ZenPing>
ElasticsearchException
protected void doClose()
throws ElasticsearchException
doClose in class
AbstractLifecycleComponent<ZenPing>
ElasticsearchException
public ZenPing.PingResponse [] pingAndWait(TimeValue timeout)
public void ping(ZenPing.PingListener listener, TimeValue timeout) throws ElasticsearchException
ping in interface
ZenPing
ElasticsearchException