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