FlagshipPoolQueue class

Constructors

FlagshipPoolQueue(dynamic sizeLimitation)

Properties

delegate FlagshipPoolQueueDelegate?
getter/setter pair
fsQueue Queue<Hit>
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
sizeLimitation → dynamic
final

Methods

addElement(Hit hitElement) → void
addListOfElements(List<Hit> list) → void
addNewTrackElement(Hit newHit) → void
extractHitsWithVisitorId(String visitorId) List<Hit>
Extract the hits relative to visitor
extractXElementFromQueue(int xElem) List<Hit>
Extract the X first elements
flushAllTrackFromQueue() List<String>
Remove all track elements in the pool Return an id for the removed element to remove them in database
flushTrackAndKeepConsent(String visitorId) List<String>
getAllIds() List<String>
hitsFromListToMap(List<Hit> list) Map<String, Map<String, Object>>
isEmpty() bool
isNotEmpty() bool
listHitsFromMap(List<Map> listOfMap) List<BaseHit>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeHitsForVisitorId(String visitorId) → void
Extract the hits // Hits must be deleted from the pool (expect the Consent type ones).
removeTrackElement(String id) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited