ConnectionDataPool class

Specialized pool for ConnectionData objects

Constructors

ConnectionDataPool({int maxPoolSize = 1000})

Properties

hashCode int
The hash code for this object.
no setterinherited
poolSize int
Get current pool size
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acquire({required int index, required double distance}) ConnectionData
Acquire a connection data object from the pool
clear() → void
Clear all pooled objects
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(ConnectionData data) → void
Release a connection data object back to the pool
toString() String
A string representation of this object.
inherited

Operators

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