You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Pattarawat Chormai (JIRA)" <ji...@apache.org> on 2017/04/16 20:25:42 UTC

[jira] [Closed] (FLINK-4548) Refactor ContinuousFileMonitoringTest to use OneShotLatch

     [ https://issues.apache.org/jira/browse/FLINK-4548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pattarawat Chormai closed FLINK-4548.
-------------------------------------
    Resolution: Fixed

> Refactor ContinuousFileMonitoringTest to use OneShotLatch
> ---------------------------------------------------------
>
>                 Key: FLINK-4548
>                 URL: https://issues.apache.org/jira/browse/FLINK-4548
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Aljoscha Krettek
>            Assignee: Pattarawat Chormai
>            Priority: Minor
>              Labels: easyfix, newbie, starter
>
> Right now, the test has custom code that uses {{synchronized}}, {{notify()}} and {{wait()}}. This could be simplified by using {{OneShotLatch}} which does that under the hood and makes the intended behavior more obvious in the test.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)