public final class LivenessCheck
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 |
|---|
LivenessCheck() |
| Modifier and Type | Method and Description |
|---|---|
LivenessCheck |
clone() |
String |
getCheckInterval()
Interval between health checks.
|
Long |
getFailureThreshold()
Number of consecutive failed checks required before considering the VM unhealthy.
|
String |
getHost()
Host header to send when performing a HTTP Liveness check.
|
String |
getInitialDelay()
The initial delay before starting to execute the checks.
|
String |
getPath()
The request path.
|
Long |
getSuccessThreshold()
Number of consecutive successful checks required before considering the VM healthy.
|
String |
getTimeout()
Time before the check is considered failed.
|
LivenessCheck |
set(String fieldName,
Object value) |
LivenessCheck |
setCheckInterval(String checkInterval)
Interval between health checks.
|
LivenessCheck |
setFailureThreshold(Long failureThreshold)
Number of consecutive failed checks required before considering the VM unhealthy.
|
LivenessCheck |
setHost(String host)
Host header to send when performing a HTTP Liveness check.
|
LivenessCheck |
setInitialDelay(String initialDelay)
The initial delay before starting to execute the checks.
|
LivenessCheck |
setPath(String path)
The request path.
|
LivenessCheck |
setSuccessThreshold(Long successThreshold)
Number of consecutive successful checks required before considering the VM healthy.
|
LivenessCheck |
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 getCheckInterval()
null for nonepublic LivenessCheck setCheckInterval(String checkInterval)
checkInterval - checkInterval or null for nonepublic Long getFailureThreshold()
null for nonepublic LivenessCheck setFailureThreshold(Long failureThreshold)
failureThreshold - failureThreshold or null for nonepublic String getHost()
null for nonepublic LivenessCheck setHost(String host)
host - host or null for nonepublic String getInitialDelay()
null for nonepublic LivenessCheck setInitialDelay(String initialDelay)
initialDelay - initialDelay or null for nonepublic String getPath()
null for nonepublic LivenessCheck setPath(String path)
path - path or null for nonepublic Long getSuccessThreshold()
null for nonepublic LivenessCheck setSuccessThreshold(Long successThreshold)
successThreshold - successThreshold or null for nonepublic String getTimeout()
null for nonepublic LivenessCheck setTimeout(String timeout)
timeout - timeout or null for nonepublic LivenessCheck set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic LivenessCheck clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.