Type | Name and description |
---|---|
ListProperty<String> |
cmd |
Property<Long> |
interval The time to wait between checks in nanoseconds. |
Property<Integer> |
retries The number of consecutive failures needed to consider a container as unhealthy. 0 means inherit. |
Property<Long> |
startPeriod The time to wait for container initialization before starting health-retries countdown in nanoseconds. |
Property<Long> |
timeout The time to wait before considering the check to have hung. |
Constructor and description |
---|
DockerCreateContainer.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