Package org.elasticsearch.discovery.zen
Interface ZenPing
- All Superinterfaces:
AutoCloseable
,Closeable
,org.elasticsearch.core.Releasable
- All Known Implementing Classes:
UnicastZenPing
public interface ZenPing
extends org.elasticsearch.core.Releasable
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
a utility collection of pings where only the most recent ping is stored per nodestatic class
-
Method Summary
Modifier and TypeMethodDescriptionvoid
ping(Consumer<ZenPing.PingCollection> resultsConsumer, org.elasticsearch.core.TimeValue timeout)
void
start()
Methods inherited from interface org.elasticsearch.core.Releasable
close
-
Method Details
-
start
void start() -
ping
void ping(Consumer<ZenPing.PingCollection> resultsConsumer, org.elasticsearch.core.TimeValue timeout)
-