public class IndefiniteWaitOneShotStartupCheckStrategy extends OneShotStartupCheckStrategy
OneShotStartupCheckStrategy that does not impose a timeout.
Intended for situation such as when a long running task forms part of container startup.
It has to be assumed that the container will stop of its own accord, either with a success or failure exit code.
StartupCheckStrategy.StartupStatus| Constructor and Description |
|---|
IndefiniteWaitOneShotStartupCheckStrategy() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
waitUntilStartupSuccessful(com.github.dockerjava.api.DockerClient dockerClient,
java.lang.String containerId) |
checkStartupStategetCurrentState, waitUntilStartupSuccessful, withTimeoutpublic IndefiniteWaitOneShotStartupCheckStrategy()
public boolean waitUntilStartupSuccessful(com.github.dockerjava.api.DockerClient dockerClient,
java.lang.String containerId)
waitUntilStartupSuccessful in class StartupCheckStrategy