flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5325) Introduce interface for CloseableRegistry to separate user from system-facing functionality
Date Tue, 15 Aug 2017 13:55:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5325?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16127265#comment-16127265
] 

ASF GitHub Bot commented on FLINK-5325:
---------------------------------------

Github user StefanRRichter closed the pull request at:

    https://github.com/apache/flink/pull/2992


> Introduce interface for CloseableRegistry to separate user from system-facing functionality
> -------------------------------------------------------------------------------------------
>
>                 Key: FLINK-5325
>                 URL: https://issues.apache.org/jira/browse/FLINK-5325
>             Project: Flink
>          Issue Type: Improvement
>          Components: State Backends, Checkpointing
>            Reporter: Stefan Richter
>            Assignee: Stefan Richter
>
> Currently, the API of {{CloseableRegistry}} exposes the {{close}} method to all client
code. We should separate the API into a user-facing interface (allowing only for un/registration
of {{Closeable}} and a system-facing part that also exposes the {{close}} method. This prevents
users from accidentally calling {{close}}, thus closing resources that other callers registered.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message