CircuitBreakers class

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

Constructors

CircuitBreakers({int? maxConnections, int? maxPendingRequests, int? maxRequests, int? maxRequestsPerConnection, int? maxRetries})
CircuitBreakers.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
maxConnections int?
The maximum number of connections to the backend service.
getter/setter pair
maxPendingRequests int?
The maximum number of pending requests allowed to the backend service.
getter/setter pair
maxRequests int?
The maximum number of parallel requests that allowed to the backend service.
getter/setter pair
maxRequestsPerConnection int?
Maximum requests for a single connection to the backend service.
getter/setter pair
maxRetries int?
The maximum number of parallel retries allowed to the backend cluster.
getter/setter pair
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
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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