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
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
CircuitBreakers() |
Modifier and Type | Method and Description |
---|---|
CircuitBreakers |
clone() |
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 |
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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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 com.google.api.client.json.GenericJson
public CircuitBreakers clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2025 Google. All rights reserved.