IsolateReports class final
The last report of every isolate of the pool, by isolate and by
IsolateReporter.id: the bean isolateReports. Without a pool it has
the reports of the one isolate, asked when read.
Constructors
-
IsolateReports(List<
IsolateReporter> reporters) -
The reports of this isolate's
reporters, and of the others once they put theirs.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onRefresh
↔ Future<
void> Function()? -
Asks the other isolates for their reports now; set by the pool that
has them.
nullwithout a pool.getter/setter pair -
reporters
→ List<
IsolateReporter> -
The reporters of this isolate.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
of(
String id, {required String own}) → Map< String, Object?> -
The reports named
idby isolate: this isolate's (underown's name) first, then the others in the order of their numbers (isolate-2beforeisolate-10). -
own(
) → Map< String, Object?> - What this isolate's reporters tell now, by id.
-
put(
String isolate, Map< String, Object?> reports) → void -
Keeps the
reportsof the isolate namedisolate; the pool calls it in the primary. -
refresh(
) → Future< void> - Brings the other isolates' reports up to date: completes once they have answered (or shortly after, without those that did not). At once without a pool. Reports are otherwise as old as the last refresh.
-
remove(
String isolate) → void -
Forgets the isolate named
isolate, which left the pool. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited