GroupIdentity class
Who a server isolate is, when it runs in its own isolate group
(CoreFlags.isolateGroups).
A group starts with the main() of the app, which can not get a
message. So the identity travels in the debugName of the isolate:
dox-group-<isolateId>-<isolateCount>-<primaryNativePort>. The
primary port is where the isolate sends its own port to say hello.
Constructors
- GroupIdentity(int isolateId, int isolateCount, int primaryPort)
-
const
Properties
- debugName → String
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isolateCount → int
-
final
- isolateId → int
-
final
- primaryPort → int
-
the native port id of the primary isolate that waits for the hello
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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- current → GroupIdentity?
-
The identity of this isolate, or null when it is not a group worker.
no setter
Static Methods
-
parse(
String? name) → GroupIdentity? -
The identity in
name, or null whennamehas another shape.