CircuitBreakers class

Settings controlling the volume of requests, connections and retries to this backend service.

Constructors

CircuitBreakers({Input<Duration>? connectTimeout, Input<int>? maxConnections, Input<int>? maxPendingRequests, Input<int>? maxRequests, Input<int>? maxRequestsPerConnection, Input<int>? maxRetries})
Creates a new CircuitBreakers. connectTimeout The timeout for new network connections to hosts. maxConnections The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. maxPendingRequests The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. maxRequests The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit. maxRequestsPerConnection Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. maxRetries The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
const
CircuitBreakers.fromMap(Map<String, dynamic> map)
factory

Properties

connectTimeout → Input<Duration>?
The timeout for new network connections to hosts.
final
hashCode → int
The hash code for this object.
no setterinherited
maxConnections → Input<int>?
The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
final
maxPendingRequests → Input<int>?
The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
final
maxRequests → Input<int>?
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
final
maxRequestsPerConnection → Input<int>?
Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
final
maxRetries → Input<int>?
The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited