NodePool class

Constructors

NodePool({required NodeStorage storage})

Properties

hashCode int
The hash code for this object.
no setterinherited
locks Map<String, Lock>
getter/setter pair
logger PLogger?
getter/setter pair
nodes List<Node>
getter/setter pair
onStartPipeline List<Future<void> Function(Node, NodeStorage, PrecisionStopwatch)>
final
onStopPipeline List<Future<void> Function(Node, NodeStorage, PrecisionStopwatch)>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storage NodeStorage
final

Methods

addOrGetNode(Type nodeType, {Object? tag, bool root = false, int depth = 0}) Future<Node>
gc([bool nested = false]) Future<int>
getNode(Type type, {Object? tag}) Node?
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeNode(Type node, {Object? tag}) Future<void>
removeNodeExplicit(Node n) Future<void>
restart(Node node) Future<void>
shutdown() Future<void>
start(Type nodeType) Future<void>
toString() String
A string representation of this object.
inherited

Operators

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