DedicatedDatabaseReplicas class

Replicas

Implemented types

Constructors

DedicatedDatabaseReplicas({required int replicas, required String syncMode, String? effectiveSyncMode, required bool syncDegraded, required int syncAcknowledgements, required int syncStandbyCount, required bool syncStateConfirmed, required List<DedicatedDatabaseMember> members})
DedicatedDatabaseReplicas.fromMap(Map<String, dynamic> map)
factory

Properties

effectiveSyncMode String?
Replication sync mode the primary is actually enforcing. Null when high availability is disabled or the state could not be read. A value below the requested syncMode means writes are being acknowledged with weaker durability than configured.
final
hashCode int
The hash code for this object.
no setterinherited
members List<DedicatedDatabaseMember>
Per-pod statuses for the primary and every replica.
final
replicas int
Number of configured replicas. Zero means high availability is disabled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
syncAcknowledgements int
Number of standby acknowledgements the primary waits for before a write is committed. Zero means writes are acknowledged locally.
final
syncDegraded bool
Whether the enforced replication is weaker than the requested syncMode.
final
syncMode String
Requested replication sync mode. Possible values: async (asynchronous, fastest), sync (synchronous, strong consistency), quorum (quorum-based, majority of replicas must confirm). This is what was asked for; compare it with effectiveSyncMode for what the primary is enforcing.
final
syncStandbyCount int
Number of standbys registered with the primary for synchronous replication.
final
syncStateConfirmed bool
Whether the reported sync state was read from the engine. When false the state could not be confirmed and the other sync fields carry no reading.
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