ReadinessCheck class

Readiness checking configuration for VM instances.

Unhealthy instances are removed from traffic rotation.

Constructors

ReadinessCheck({String? appStartTimeout, String? checkInterval, int? failureThreshold, String? host, String? path, int? successThreshold, String? timeout})
ReadinessCheck.fromJson(Map json_)

Properties

appStartTimeout ↔ String?
A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.
getter/setter pair
checkInterval ↔ String?
Interval between health checks.
getter/setter pair
failureThreshold ↔ int?
Number of consecutive failed checks required before removing traffic.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
host ↔ String?
Host header to send when performing a HTTP Readiness check.
getter/setter pair
path ↔ String?
The request path.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
successThreshold ↔ int?
Number of consecutive successful checks required before receiving traffic.
getter/setter pair
timeout ↔ String?
Time before the check is considered failed.
getter/setter pair

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