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)

Reply via email to