ClaimLimits class final
Limits of DbSync.claim.
Constructors
- ClaimLimits({int maxChanges = 100, int? maxBytes, Duration lease = const Duration(seconds: 30)})
-
At most
maxChangesenvelopes,maxBytesbytes of envelope JSON (an envelope larger than that alone is still sent, alone), leased forlease.const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- lease → Duration
-
How long the lease lasts; after it, the envelopes can be claimed again
(the same bytes).
final
- maxBytes → int?
-
Most bytes of envelopes in the batch.
final
- maxChanges → int
-
Most envelopes in the batch.
final
- 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, Object?> - The protocol fields.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited