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 F12B5116C3 for ; Fri, 23 May 2014 21:21:02 +0000 (UTC) Received: (qmail 36254 invoked by uid 500); 23 May 2014 21:21:02 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 36171 invoked by uid 500); 23 May 2014 21:21:02 -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 36163 invoked by uid 99); 23 May 2014 21:21:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 May 2014 21:21:02 +0000 Date: Fri, 23 May 2014 21:21:02 +0000 (UTC) From: "Jeffrey Barrus (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (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 Jeffrey Barrus created IO-446: --------------------------------- Summary: 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 Fix For: 2.5 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)