| Modifier and Type | Optional Element and Description |
|---|---|
String |
endpoint
The path of the health check endpoint in your service.
|
int |
exposedPort
The port that is exposed by the container (not the one it is mapped to on the host network interface)
Default is 80
|
int |
pollingInterval
The length of the interval (in seconds) Consul will wait before re-checking the service state.
|
WebHealthCheck.WebProtocol |
protocol
The web protocol.
|
public abstract String endpoint
public abstract WebHealthCheck.WebProtocol protocol
Copyright © 2019. All rights reserved.