commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Barrus (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IO-446) adds an endOfFileReached method to the TailerListener
Date Fri, 23 May 2014 21:21:02 GMT
Jeffrey Barrus created IO-446:
---------------------------------

             Summary: adds an endOfFileReached method to the TailerListener
                 Key: IO-446
                 URL: https://issues.apache.org/jira/browse/IO-446
             Project: Commons IO
          Issue Type: New Feature
          Components: Utilities
            Reporter: Jeffrey Barrus
            Priority: Minor
             Fix For: 2.5


My use case is tailing a log and publishing to a websocket.  I found that using the handleLine
method resulted in too many messaged being published.  Using a buffer in my listener and only
publishing on endOfFileReached was a really simple solution.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message