BatchManager class
- Mixed-in types
Constructors
- BatchManager(FlagshipPoolQueue fsPool, Function sendBatch, TrackingManagerConfig configTracking, IHitCacheImplementation fsCacheHit, {String label = ""})
Properties
- configTracking → TrackingManagerConfig
-
final
- cronTimer ↔ PausableTimer
-
getter/setter pair
- fsCacheHit → IHitCacheImplementation
-
final
- fsPool → FlagshipPoolQueue
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sendBatch → Function
-
final
Methods
-
batchFromQueue(
) → void -
createBatch(
List< BaseHit> listOfHits) → Batch -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onFailedToSendBatch(
List< Hit> listOfHitToSend) → dynamic -
override
-
onPoolSizeMaxReached(
) → void -
override
-
onSendBatchWithSuccess(
List< Hit> listOfSendedHits, BatchCachingStrategy strategy) → dynamic -
override
-
pause(
) → void -
start(
) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited