DedicatedDatabaseMember class
Member
- Implemented types
Constructors
- DedicatedDatabaseMember({required String $id, required String role, required String status, bool? replicating, double? lagSeconds})
-
DedicatedDatabaseMember.fromMap(Map<
String, dynamic> map) -
factory
Properties
- $id → String
-
Member identifier.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lagSeconds → double?
-
Replication lag in seconds. Null when the lag is not known: a primary has none to report, and a member the backend has not probed has none yet. Also null against
replicating: true, for a member that is streaming but whose engine printed no numeric lag.final - replicating → bool?
-
Whether the engine reports this member's replication stream as up. Null when no reading was taken: a primary has no stream to report, and a member that is not active, or whose probe did not answer, has none yet. False is a reading and null is the absence of one, so the two are not interchangeable. Read it beside lagSeconds before expecting a failover that names no target to find a promotable standby: a member streaming at a known lag is one, and a member reporting null is not evidence either way.
final
- role → String
-
Member role. Possible values: primary (accepts reads and writes), replica (read-only follower), unknown (placement not established; reported while a transition is moving or restarting the topology and this member has not been probed, so no member can be named the write target).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
Member pod status. Possible values: pending (configured but absent from the backend topology, so nothing is bringing it up), provisioning (pod missing or Pending), starting (Running but not Ready), active (Running and Ready), failed (Failed phase or CrashLoopBackOff container), or the lowercased pod phase reported by the cluster.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited