Reference documentation and code samples for the Google Cloud Dataflow V1beta3 Client class HotKeyInfo.
Information about a hot key.
Generated from protobuf message google.dataflow.v1beta3.HotKeyDebuggingInfo.HotKeyInfo
Namespace
Google \ Cloud \ Dataflow \ V1beta3 \ HotKeyDebuggingInfoMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ hot_key_age |
Google\Protobuf\Duration
The age of the hot key measured from when it was first detected. |
↳ key |
string
A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging". |
↳ key_truncated |
bool
If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB. |
getHotKeyAge
The age of the hot key measured from when it was first detected.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Duration|null |
hasHotKeyAge
clearHotKeyAge
setHotKeyAge
The age of the hot key measured from when it was first detected.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Duration
|
Returns | |
---|---|
Type | Description |
$this |
getKey
A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging".
Returns | |
---|---|
Type | Description |
string |
setKey
A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: "--enable_hot_key_logging".
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getKeyTruncated
If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB.
Returns | |
---|---|
Type | Description |
bool |
setKeyTruncated
If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB.
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |