[
https://issues.apache.org/jira/browse/IO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeffrey Barrus updated IO-446:
------------------------------
Attachment: tailer-end-of-file.patch
> 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
> Labels: patch
> Fix For: 2.5
>
> Attachments: tailer-end-of-file.patch
>
>
> 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)