You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Kristian Rosenvold (JIRA)" <ji...@apache.org> on 2015/08/06 15:00:05 UTC
[jira] [Closed] (IO-446) adds an endOfFileReached method to the
TailerListener
[ https://issues.apache.org/jira/browse/IO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kristian Rosenvold closed IO-446.
---------------------------------
Resolution: Fixed
Assignee: Kristian Rosenvold
Fixed in r1686747
> 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
> Assignee: Kristian Rosenvold
> 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 messages 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.3.4#6332)