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/11/20 23:05:10 UTC
[jira] [Created] (IO-488) FileAlterationObserver - file age
validation
Sergey Pulyaev created IO-488:
---------------------------------
Summary: 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)