Package com.intershop.gradle.icm.utils
Class SocketProbe
-
- All Implemented Interfaces:
-
com.intershop.gradle.icm.utils.Probe
public final class SocketProbe extends AbstractProbe
Probes a TCP endpoint until a socket connection can be established.
Takes the Logger and the ProgressLoggerFactory of the owning task instead of its
Project, so that executing this probe never touches the build model - see AbstractProbe.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSocketProbe.Companion
-
Field Summary
Fields Modifier and Type Field Description private DurationretryIntervalprivate DurationretryTimeoutpublic final static SocketProbe.CompanionCompanion
-
Constructor Summary
Constructors Constructor Description SocketProbe(Logger logger, ProgressLoggerFactory progressLoggerFactory, String hostName, Integer port)
-
Method Summary
-
Methods inherited from class com.intershop.gradle.icm.utils.AbstractProbe
execute, getRetryInterval, getRetryTimeout, onFailure, onSuccess, setRetryInterval, setRetryTimeout, withRetryInterval, withRetryTimeout -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-