public final class CircuitBreakers
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 Compute Engine 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.Flags| Constructor and Description |
|---|
CircuitBreakers() |
| Modifier and Type | Method and Description |
|---|---|
CircuitBreakers |
clone() |
java.lang.Integer |
getMaxConnections()
The maximum number of connections to the backend service.
|
java.lang.Integer |
getMaxPendingRequests()
The maximum number of pending requests allowed to the backend service.
|
java.lang.Integer |
getMaxRequests()
The maximum number of parallel requests that allowed to the backend service.
|
java.lang.Integer |
getMaxRequestsPerConnection()
Maximum requests for a single connection to the backend service.
|
java.lang.Integer |
getMaxRetries()
The maximum number of parallel retries allowed to the backend cluster.
|
CircuitBreakers |
set(java.lang.String fieldName,
java.lang.Object value) |
CircuitBreakers |
setMaxConnections(java.lang.Integer maxConnections)
The maximum number of connections to the backend service.
|
CircuitBreakers |
setMaxPendingRequests(java.lang.Integer maxPendingRequests)
The maximum number of pending requests allowed to the backend service.
|
CircuitBreakers |
setMaxRequests(java.lang.Integer maxRequests)
The maximum number of parallel requests that allowed to the backend service.
|
CircuitBreakers |
setMaxRequestsPerConnection(java.lang.Integer maxRequestsPerConnection)
Maximum requests for a single connection to the backend service.
|
CircuitBreakers |
setMaxRetries(java.lang.Integer maxRetries)
The maximum number of parallel retries allowed to the backend cluster.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Integer getMaxConnections()
null for nonepublic CircuitBreakers setMaxConnections(java.lang.Integer maxConnections)
maxConnections - maxConnections or null for nonepublic java.lang.Integer getMaxPendingRequests()
null for nonepublic CircuitBreakers setMaxPendingRequests(java.lang.Integer maxPendingRequests)
maxPendingRequests - maxPendingRequests or null for nonepublic java.lang.Integer getMaxRequests()
null for nonepublic CircuitBreakers setMaxRequests(java.lang.Integer maxRequests)
maxRequests - maxRequests or null for nonepublic java.lang.Integer getMaxRequestsPerConnection()
null for nonepublic CircuitBreakers setMaxRequestsPerConnection(java.lang.Integer maxRequestsPerConnection)
maxRequestsPerConnection - maxRequestsPerConnection or null for nonepublic java.lang.Integer getMaxRetries()
null for nonepublic CircuitBreakers setMaxRetries(java.lang.Integer maxRetries)
maxRetries - maxRetries or null for nonepublic CircuitBreakers set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic CircuitBreakers clone()
clone in class com.google.api.client.json.GenericJson