public class DockerHealthCheck extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DockerHealthCheck.Builder
Builds the immutable
DockerHealthCheck. |
| Modifier and Type | Method and Description |
|---|---|
static DockerHealthCheck.Builder |
fromCommand(List<String> command)
Creates a new
DockerHealthCheck.Builder with the specified command. |
List<String> |
getCommand()
Gets the optional healthcheck command.
|
Optional<Duration> |
getInterval()
Gets the optional healthcheck interval.
|
Optional<Integer> |
getRetries()
Gets the optional healthcheck retry count.
|
Optional<Duration> |
getStartPeriod()
Gets the optional healthcheck start period.
|
Optional<Duration> |
getTimeout()
Gets the optional healthcheck timeout.
|
public static DockerHealthCheck.Builder fromCommand(List<String> command)
DockerHealthCheck.Builder with the specified command.command - the commandDockerHealthCheck.Builderpublic List<String> getCommand()
public Optional<Duration> getInterval()
public Optional<Duration> getTimeout()
public Optional<Duration> getStartPeriod()
Copyright © 2019. All rights reserved.