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] [Updated] (IO-446) adds an endOfFileReached method to the TailerListener
Date Fri, 23 May 2014 21:23:01 GMT

     [ https://issues.apache.org/jira/browse/IO-446?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jeffrey Barrus updated IO-446:
------------------------------

    Description: 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.  (was:
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.)

> 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 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.2#6252)

Mime
View raw message