@Retention(value=RUNTIME) @Target(value=TYPE) public @interface EnableConsul
| Modifier and Type | Optional Element and Description |
|---|---|
EnableConsul.CheckStatus |
checkInitialStatus
The initial status for the Consul check associated to this 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 |
initialDelay
The amount of time to wait before Consul performs the first health check.
|
int |
pollingInterval
The length of the interval (in seconds) Consul will wait before re-checking the service state.
|
public abstract int exposedPort
public abstract int pollingInterval
public abstract int initialDelay
public abstract EnableConsul.CheckStatus checkInitialStatus
Copyright © 2019. All rights reserved.