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

Using WatchService in Tailer instead of polling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.4
    • None
    • Utilities

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            orr94 Jeremiah Orr
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified