commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Rosenvold (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (IO-446) adds an endOfFileReached method to the TailerListener
Date Thu, 06 Aug 2015 13:00:05 GMT

     [ 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)

Mime
View raw message