WorkItemServiceState class

The Dataflow service's idea of the current state of a WorkItem being processed by a worker.

Constructors

WorkItemServiceState({Status? completeWorkStatus, Map<String, Object>? harnessData, HotKeyDetection? hotKeyDetection, String? leaseExpireTime, List<MetricShortId>? metricShortId, String? nextReportIndex, String? reportStatusInterval, ApproximateSplitRequest? splitRequest, ApproximateProgress? suggestedStopPoint, Position? suggestedStopPosition})
WorkItemServiceState.fromJson(Map _json)

Properties

completeWorkStatus Status?
If set, a request to complete the work item with the given status.
getter/setter pair
harnessData Map<String, Object>?
Other data returned by the service, specific to the particular worker harness.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
hotKeyDetection HotKeyDetection?
A hot key is a symptom of poor data distribution in which there are enough elements mapped to a single key to impact pipeline performance.
getter/setter pair
leaseExpireTime String?
Time at which the current lease will expire.
getter/setter pair
metricShortId List<MetricShortId>?
The short ids that workers should use in subsequent metric updates.
getter/setter pair
nextReportIndex String?
The index value to use for the next report sent by the worker.
getter/setter pair
reportStatusInterval String?
New recommended reporting interval.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splitRequest ApproximateSplitRequest?
The progress point in the WorkItem where the Dataflow service suggests that the worker truncate the task.
getter/setter pair
suggestedStopPoint ApproximateProgress?
DEPRECATED in favor of split_request.
getter/setter pair
suggestedStopPosition Position?
Obsolete, always empty.
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