You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Sergey Pulyaev (JIRA)" <ji...@apache.org> on 2015/12/01 21:59:11 UTC

[jira] [Closed] (IO-488) FileAlterationObserver - file age validation

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

Sergey Pulyaev closed IO-488.
-----------------------------
    Resolution: Not A Problem

Sorry - found a way how to do this with AgeFileFilter

> FileAlterationObserver - file age validation
> --------------------------------------------
>
>                 Key: IO-488
>                 URL: https://issues.apache.org/jira/browse/IO-488
>             Project: Commons IO
>          Issue Type: Improvement
>          Components: Utilities
>    Affects Versions: 2.4
>            Reporter: Sergey Pulyaev
>
> I would like to have ability to specify the file age after which it should be treated as CREATED.
> Because if the file monitor is configured to the file which is big, or created in a slow manner - it noticed the file and fire an event, even though this file is not yet finished and in writing process.
> The best way to do this - is to provide some sort of verification - and consider file as CREATE only if it has modification timestamp older than some value - for example 10 seconds.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)