IsolateLoadsHandler class final

Answers every isolate's load from the application's first isolate (isolates.loads of PrimaryIsolate.ask): the rows of IsolateLoads as JSON, the isolates of the server's pool asked just before. So a request that reaches any isolate can show them all.

Implemented types

Constructors

IsolateLoadsHandler(IsolateLoads loads, IsolateReports reports)
The handler of loads, brought up to date through reports.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
id → String
The name questions are sent under, one per handler.
no setteroverride
loads → IsolateLoads
Every isolate's load, in the first isolate.
final
reports → IsolateReports
Asks the other isolates.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

handle(Object? request) → Future<Object?>
Answers request in the first isolate. Both cross isolates as JSON values (numbers, text, lists and maps of them).
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

handlerId → const String
The name it answers under.