Class DockerCreateContainer.HealthCheckConfig

    • Constructor Detail

      • HealthCheckConfig

        @Inject
        public HealthCheckConfig​(ObjectFactory objectFactory)
    • Method Detail

      • getInterval

        @Input
        @Optional
        public final Property<Long> getInterval()
        The time to wait between checks in nanoseconds. It should be 0 or at least 1000000 (1 ms). 0 means inherit.
      • getTimeout

        @Input
        @Optional
        public final Property<Long> 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.
      • getRetries

        @Input
        @Optional
        public final Property<Integer> getRetries()
        The number of consecutive failures needed to consider a container as unhealthy. 0 means inherit.
      • getStartPeriod

        @Input
        @Optional
        public final Property<Long> 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

        public void cmd​(String shellCommand)