commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeremiah Orr (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IO-470) Using WatchService in Tailer instead of polling
Date Thu, 05 Mar 2015 13:55:38 GMT
Jeremiah Orr created IO-470:
-------------------------------

             Summary: Using WatchService in Tailer instead of polling
                 Key: IO-470
                 URL: https://issues.apache.org/jira/browse/IO-470
             Project: Commons IO
          Issue Type: Improvement
          Components: Utilities
    Affects Versions: 2.4
            Reporter: Jeremiah Orr
             Fix For: 2.5


Tailer would benefit from using Java 7's WatchService to detect file changes instead of polling
at a set interval. Tailer could respond quicker to changes, and it would save the system from
constant polling. This of course would mean that commons-io would require Java 7.

I don't know what the future release plans are for commons-io; if there's an upcoming version
that will require Java 7, I'll happily make this change myself.



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

Mime
View raw message