public final class CircuitBreakers extends 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 Compute Engine API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
CircuitBreakers() |
| Modifier and Type | Method and Description |
|---|---|
CircuitBreakers |
clone() |
Duration |
getConnectTimeout()
The timeout for new network connections to hosts.
|
Integer |
getMaxConnections()
The maximum number of connections to the backend service.
|
Integer |
getMaxPendingRequests()
The maximum number of pending requests allowed to the backend service.
|
Integer |
getMaxRequests()
The maximum number of parallel requests that allowed to the backend service.
|
Integer |
getMaxRequestsPerConnection()
Maximum requests for a single connection to the backend service.
|
Integer |
getMaxRetries()
The maximum number of parallel retries allowed to the backend cluster.
|
CircuitBreakers |
set(String fieldName,
Object value) |
CircuitBreakers |
setConnectTimeout(Duration connectTimeout)
The timeout for new network connections to hosts.
|
CircuitBreakers |
setMaxConnections(Integer maxConnections)
The maximum number of connections to the backend service.
|
CircuitBreakers |
setMaxPendingRequests(Integer maxPendingRequests)
The maximum number of pending requests allowed to the backend service.
|
CircuitBreakers |
setMaxRequests(Integer maxRequests)
The maximum number of parallel requests that allowed to the backend service.
|
CircuitBreakers |
setMaxRequestsPerConnection(Integer maxRequestsPerConnection)
Maximum requests for a single connection to the backend service.
|
CircuitBreakers |
setMaxRetries(Integer maxRetries)
The maximum number of parallel retries allowed to the backend cluster.
|
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 Duration getConnectTimeout()
null for nonepublic CircuitBreakers setConnectTimeout(Duration connectTimeout)
connectTimeout - connectTimeout or null for nonepublic Integer getMaxConnections()
null for nonepublic CircuitBreakers setMaxConnections(Integer maxConnections)
maxConnections - maxConnections or null for nonepublic Integer getMaxPendingRequests()
null for nonepublic CircuitBreakers setMaxPendingRequests(Integer maxPendingRequests)
maxPendingRequests - maxPendingRequests or null for nonepublic Integer getMaxRequests()
null for nonepublic CircuitBreakers setMaxRequests(Integer maxRequests)
maxRequests - maxRequests or null for nonepublic Integer getMaxRequestsPerConnection()
null for nonepublic CircuitBreakers setMaxRequestsPerConnection(Integer maxRequestsPerConnection)
maxRequestsPerConnection - maxRequestsPerConnection or null for nonepublic Integer getMaxRetries()
null for nonepublic CircuitBreakers setMaxRetries(Integer maxRetries)
maxRetries - maxRetries or null for nonepublic CircuitBreakers set(String fieldName, Object value)
set in class GenericJsonpublic CircuitBreakers clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.