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/01/16 13:20:26 UTC

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

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

Pattarawat Chormai commented on FLINK-4548:
-------------------------------------------

If nobody is working on this issue, I can take a look on it.

[~aljoscha] Could you please assign the issue to me?

> Refactor ContinuousFileMonitoringTest to use OneShotLatch
> ---------------------------------------------------------
>
>                 Key: FLINK-4548
>                 URL: https://issues.apache.org/jira/browse/FLINK-4548
>             Project: Flink
>          Issue Type: Improvement
>            Reporter: Aljoscha Krettek
>            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.4#6332)