WorkerMessageResponse class
A worker_message response allows the server to pass information to the sender.
Constructors
- WorkerMessageResponse({WorkerHealthReportResponse? workerHealthReportResponse, ResourceUtilizationReportResponse? workerMetricsResponse, WorkerShutdownNoticeResponse? workerShutdownNoticeResponse, WorkerThreadScalingReportResponse? workerThreadScalingReportResponse})
- WorkerMessageResponse.fromJson(Map json_)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- workerHealthReportResponse ↔ WorkerHealthReportResponse?
-
The service's response to a worker's health report.
getter/setter pair
- workerMetricsResponse ↔ ResourceUtilizationReportResponse?
-
Service's response to reporting worker metrics (currently empty).
getter/setter pair
- workerShutdownNoticeResponse ↔ WorkerShutdownNoticeResponse?
-
Service's response to shutdown notice (currently empty).
getter/setter pair
- workerThreadScalingReportResponse ↔ WorkerThreadScalingReportResponse?
-
Service's thread scaling recommendation for workers.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited