MailDeduper class final

Bounded LRU dedupe over fabric message ids: a re-observed id inside the window is a duplicate (drop it); the oldest id falls out at capacity.

Constructors

MailDeduper({int capacity = bridgeDedupeCapacity})

Properties

capacity → int
Maximum remembered ids.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

isDuplicate(String msgId) → bool
Records msgId and reports whether it was seen inside the window.
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