Durable class

Constructors

Durable({String? ackPolicy, String? ackWait, String? deliverPolicy, String? description, String? durableName, String? filterSubject, int? maxAckPending, int? maxDeliver, int? optStartSeq, DateTime? optStartTime, String? replayPolicy})
Returns a new Durable instance.

Properties

ackPolicy ↔ String?
Ack is the acknowledgment policy: explicit (default), all, or none.
getter/setter pair
ackWait ↔ String?
AckWait is how long the broker waits for an ack before redelivering, e.g. "30s" (default).
getter/setter pair
deliverPolicy ↔ String?
Deliver is where delivery starts: all (default), last, new, by_start_sequence, by_start_time, or last_per_subject.
getter/setter pair
description ↔ String?
Description says what this consumer is for.
getter/setter pair
durableName ↔ String?
Name is the durable consumer name (alphanumeric, hyphens, underscores).
getter/setter pair
filterSubject ↔ String?
Filter delivers only messages on this org-relative subject (wildcards supported).
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
maxAckPending ↔ int?
MaxAckPending caps unacknowledged messages in flight (default 1000).
getter/setter pair
maxDeliver ↔ int?
MaxDeliver caps delivery attempts per message; -1 (default) is unlimited.
getter/setter pair
optStartSeq ↔ int?
StartSeq is the starting sequence for deliver_policy by_start_sequence.
getter/setter pair
optStartTime ↔ DateTime?
StartTime is the starting instant for deliver_policy by_start_time.
getter/setter pair
replayPolicy ↔ String?
Replay is the replay pacing: instant (default) or original.
getter/setter pair
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → Durable?
Returns a new Durable instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<Durable>
mapFromJson(dynamic json) → Map<String, Durable>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<Durable>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.