FlushPolicyExecuter class

Constructors

FlushPolicyExecuter(List<FlushPolicy> _policies, OnFlush _onFlush)

Properties

hashCode int
The hash code for this object.
no setterinherited
policies List<FlushPolicy>
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

add(FlushPolicy policy) → void
cleanup() → void
manualFlush() → void
Checks if any flush policy is requesting a flush This is only intended for startup/initialization, all policy shouldFlush changes are already observed and reacted to.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notify(RawEvent event) → void
Notifies each flush policy that an event is being processed
remove(FlushPolicy policy) bool
removeIndex(int index) bool
reset() → void
Resets all flush policies
start() → void
startPolicy(FlushPolicy policy) → void
toString() String
A string representation of this object.
inherited

Operators

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