Package org.elasticsearch.test.readiness
Interface ReadinessClientProbe
public interface ReadinessClientProbe
Helper test interface that provides basic socket connect functionality to
the readiness service for testing purposes
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
channelConnect
(SocketChannel channel, InetSocketAddress socketAddress) default void
default void
tcpReadinessProbeFalse
(ReadinessService readinessService) default void
tcpReadinessProbeTrue
(Integer port) default void
tcpReadinessProbeTrue
(ReadinessService readinessService)
-
Field Details
-
probeLogger
static final org.apache.logging.log4j.Logger probeLogger
-
-
Method Details
-
tcpReadinessProbeTrue
- Throws:
Exception
-
channelConnect
default boolean channelConnect(SocketChannel channel, InetSocketAddress socketAddress) throws IOException - Throws:
IOException
-
tcpReadinessProbeTrue
- Throws:
Exception
-
tcpReadinessProbeFalse
- Throws:
Exception
-
tcpReadinessProbeFalse
- Throws:
Exception
-