public final class ReadinessCheck
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the App Engine Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
ReadinessCheck() |
| Modifier and Type | Method and Description |
|---|---|
ReadinessCheck |
clone() |
String |
getAppStartTimeout()
A maximum time limit on application initialization, measured from moment the application
successfully replies to a healthcheck until it is ready to serve traffic.
|
String |
getCheckInterval()
Interval between health checks.
|
Long |
getFailureThreshold()
Number of consecutive failed checks required before removing traffic.
|
String |
getHost()
Host header to send when performing a HTTP Readiness check.
|
String |
getPath()
The request path.
|
Long |
getSuccessThreshold()
Number of consecutive successful checks required before receiving traffic.
|
String |
getTimeout()
Time before the check is considered failed.
|
ReadinessCheck |
set(String fieldName,
Object value) |
ReadinessCheck |
setAppStartTimeout(String appStartTimeout)
A maximum time limit on application initialization, measured from moment the application
successfully replies to a healthcheck until it is ready to serve traffic.
|
ReadinessCheck |
setCheckInterval(String checkInterval)
Interval between health checks.
|
ReadinessCheck |
setFailureThreshold(Long failureThreshold)
Number of consecutive failed checks required before removing traffic.
|
ReadinessCheck |
setHost(String host)
Host header to send when performing a HTTP Readiness check.
|
ReadinessCheck |
setPath(String path)
The request path.
|
ReadinessCheck |
setSuccessThreshold(Long successThreshold)
Number of consecutive successful checks required before receiving traffic.
|
ReadinessCheck |
setTimeout(String timeout)
Time before the check is considered failed.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getAppStartTimeout()
null for nonepublic ReadinessCheck setAppStartTimeout(String appStartTimeout)
appStartTimeout - appStartTimeout or null for nonepublic String getCheckInterval()
null for nonepublic ReadinessCheck setCheckInterval(String checkInterval)
checkInterval - checkInterval or null for nonepublic Long getFailureThreshold()
null for nonepublic ReadinessCheck setFailureThreshold(Long failureThreshold)
failureThreshold - failureThreshold or null for nonepublic String getHost()
null for nonepublic ReadinessCheck setHost(String host)
host - host or null for nonepublic String getPath()
null for nonepublic ReadinessCheck setPath(String path)
path - path or null for nonepublic Long getSuccessThreshold()
null for nonepublic ReadinessCheck setSuccessThreshold(Long successThreshold)
successThreshold - successThreshold or null for nonepublic String getTimeout()
null for nonepublic ReadinessCheck setTimeout(String timeout)
timeout - timeout or null for nonepublic ReadinessCheck set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic ReadinessCheck clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.