HealthCheck class

Information about a health check.

Constructors

HealthCheck({required int healthyThreshold, required int interval, required String target, required int timeout, required int unhealthyThreshold})
HealthCheck.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
healthyThreshold int
The number of consecutive health checks successes required before moving the instance to the Healthy state.
final
interval int
The approximate interval, in seconds, between health checks of an individual instance.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target String
The instance being checked. The protocol is either TCP, HTTP, HTTPS, or SSL. The range of valid ports is one (1) through 65535.
final
timeout int
The amount of time, in seconds, during which no response means a failed health check.
final
unhealthyThreshold int
The number of consecutive health check failures required before moving the instance to the Unhealthy state.
final

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