Class DockerCreateContainer.HealthCheckConfig
java.lang.Object
com.bmuschko.gradle.docker.tasks.container.DockerCreateContainer.HealthCheckConfig
- Enclosing class:
- DockerCreateContainer
- Since:
- 6.7.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
final ListProperty<String>
getCmd()
The time to wait between checks in nanoseconds.The number of consecutive failures needed to consider a container as unhealthy.The time to wait for container initialization before starting health-retries countdown in nanoseconds.The time to wait before considering the check to have hung.
-
Constructor Details
-
HealthCheckConfig
-
-
Method Details
-
getInterval
The time to wait between checks in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit. -
getTimeout
The time to wait before considering the check to have hung. It should be 0 or at least 1000000 (1 ms). 0 means inherit. -
getCmd
-
getRetries
The number of consecutive failures needed to consider a container as unhealthy. 0 means inherit. -
getStartPeriod
The time to wait for container initialization before starting health-retries countdown in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit. -
cmd
-