public class MinimumDurationRunningStartupCheckStrategy extends StartupCheckStrategy
StartupCheckStrategy
that checks the container is running and has been running for
a defined minimum period of time.StartupCheckStrategy.StartupStatus
Constructor and Description |
---|
MinimumDurationRunningStartupCheckStrategy(Duration minimumRunningDuration) |
Modifier and Type | Method and Description |
---|---|
StartupCheckStrategy.StartupStatus |
checkStartupState(com.github.dockerjava.api.DockerClient dockerClient,
String containerId) |
getCurrentState, waitUntilStartupSuccessful
public MinimumDurationRunningStartupCheckStrategy(@NotNull Duration minimumRunningDuration)
public StartupCheckStrategy.StartupStatus checkStartupState(com.github.dockerjava.api.DockerClient dockerClient, String containerId)
checkStartupState
in class StartupCheckStrategy
Copyright © 2017. All rights reserved.