CircuitBreakers class

Settings controlling the volume of connections to a backend service.

Constructors

CircuitBreakers()
CircuitBreakers.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
maxConnections int
The maximum number of connections to the backend service. If not specified, there is no limit.
read / write
maxPendingRequests int
The maximum number of pending requests allowed to the backend service. If not specified, there is no limit.
read / write
maxRequests int
The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit.
read / write
maxRequestsPerConnection 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.
read / write
maxRetries int
The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, Object>
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited