Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E666918F67 for ; Thu, 6 Aug 2015 13:00:05 +0000 (UTC) Received: (qmail 97990 invoked by uid 500); 6 Aug 2015 13:00:05 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 97900 invoked by uid 500); 6 Aug 2015 13:00:05 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 97889 invoked by uid 99); 6 Aug 2015 13:00:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 13:00:05 +0000 Date: Thu, 6 Aug 2015 13:00:05 +0000 (UTC) From: "Kristian Rosenvold (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (IO-446) adds an endOfFileReached method to the TailerListener MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)