Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-488

FileAlterationObserver - file age validation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.4
    • None
    • Utilities
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            gorbush Sergey Pulyaev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: