static class DockerCreateContainer.HealthCheckConfig extends Object
| Type | Name and description |
|---|---|
ListProperty<String> |
cmd |
Property<Long> |
intervalThe time to wait between checks in nanoseconds. |
Property<Integer> |
retriesThe number of consecutive failures needed to consider a container as unhealthy. 0 means inherit. |
Property<Long> |
startPeriodThe time to wait for container initialization before starting health-retries countdown in nanoseconds. |
Property<Long> |
timeoutThe time to wait before considering the check to have hung. |
| Constructor and description |
|---|
HealthCheckConfig
(ObjectFactory objectFactory) |
The time to wait between checks in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit.
The number of consecutive failures needed to consider a container as unhealthy. 0 means inherit.
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.
Groovy Documentation