Extends CommonOptions with durability options.
- Inheritance
-
- Object
- CommonOptions
- CommonDurabilityOptions
- Implementers
Constructors
- CommonDurabilityOptions({Duration? timeout, DurabilityLevel durabilityLevel = DurabilityLevel.none})
-
Creates a new CommonDurabilityOptions with a DurabilityLevel.
const
- CommonDurabilityOptions.legacyDurability({Duration? timeout, PersistTo persistTo = PersistTo.none, ReplicateTo replicateTo = ReplicateTo.none})
-
Creates a new CommonDurabilityOptions with the legacy durability
options.
const
Properties
- durabilityLevel → DurabilityLevel
-
The level of synchronous durability for this operation.
final
- durabilityPersistTo → PersistTo
-
The number of nodes this operation should be persisted to before it is
considered successful.
final
- durabilityReplicateTo → ReplicateTo
-
The number of nodes this operation should be replicated to before it is
considered successful.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timeout → Duration?
-
The timeout for this operation.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited