MultiClusterRoutingUseAny class
Read/write requests are routed to the nearest cluster in the instance, and will fail over to the nearest cluster that is available in the event of transient errors or delays.
Clusters in a region are considered equidistant. Choosing this option sacrifices read-your-writes consistency to improve availability.
Constructors
-
MultiClusterRoutingUseAny({List<
String> ? clusterIds}) - MultiClusterRoutingUseAny.fromJson(Map json_)
Properties
-
clusterIds
↔ List<
String> ? -
The set of clusters to route to.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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