[
https://issues.apache.org/jira/browse/FLINK-16712?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated FLINK-16712:
-----------------------------------
Labels: pull-request-available (was: )
> Refactor StreamTask to construct final fields
> ---------------------------------------------
>
> Key: FLINK-16712
> URL: https://issues.apache.org/jira/browse/FLINK-16712
> Project: Flink
> Issue Type: Task
> Components: Runtime / Task
> Reporter: Zhijiang
> Assignee: Zhijiang
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.11.0
>
>
> At the moment there are four fields initialized in the method of
> StreamTask#beforeInvoke, such as `stateBackend`, `checkpointStorage`,
> `timerService`, `asyncOperationsThreadPool`.
> In general it is suggested to use final fields to get known benefits. So we
> can refactor the StreamTask to initialize these fields in the constructor
> instead.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)