You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Stefan Richter (JIRA)" <ji...@apache.org> on 2018/08/03 08:29:00 UTC

[jira] [Created] (FLINK-10044) Check proper RIA style and introduce it where missing

Stefan Richter created FLINK-10044:
--------------------------------------

             Summary: Check proper RIA style and introduce it where missing
                 Key: FLINK-10044
                 URL: https://issues.apache.org/jira/browse/FLINK-10044
             Project: Flink
          Issue Type: Sub-task
            Reporter: Stefan Richter
            Assignee: Stefan Richter


Check code that allocates resources, especially if it can be cancelled and should react by releasing the resources for a proper resource-acquisition-is-initialization style. Ideally with a straight forward try-with-resource if possible. If not possible, the resource cleanup should still follow a clear design principle and cleanup should be idempotent and ideally happens in reverse order of initialization.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)