Return-Path: X-Original-To: apmail-geronimo-dev-archive@www.apache.org Delivered-To: apmail-geronimo-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 59BBFD26D for ; Tue, 17 Jul 2012 20:28:35 +0000 (UTC) Received: (qmail 73203 invoked by uid 500); 17 Jul 2012 20:28:35 -0000 Delivered-To: apmail-geronimo-dev-archive@geronimo.apache.org Received: (qmail 73142 invoked by uid 500); 17 Jul 2012 20:28:34 -0000 Mailing-List: contact dev-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list dev@geronimo.apache.org Received: (qmail 73132 invoked by uid 99); 17 Jul 2012 20:28:34 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Jul 2012 20:28:34 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id BF1AE142856 for ; Tue, 17 Jul 2012 20:28:34 +0000 (UTC) Date: Tue, 17 Jul 2012 20:28:34 +0000 (UTC) From: "Gary Tully (JIRA)" To: dev@geronimo.apache.org Message-ID: <175907369.65661.1342556914786.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1911605830.65511.1342555354223.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency 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/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Gary Tully updated GERONIMO-6373: --------------------------------- Comment: was deleted (was: Patch that adds boolean flushPartialBuffers to the constructor) > Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency > -------------------------------------------------------------------------------- > > Key: GERONIMO-6373 > URL: https://issues.apache.org/jira/browse/GERONIMO-6373 > Project: Geronimo > Issue Type: Bug > Security Level: public(Regular issues) > Components: transaction manager > Affects Versions: 2.2.1 > Reporter: Gary Tully > Attachments: GERONIMO-6372.patch > > > HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency. > It would be great to have this exposed in the HOWLLog constructor so that it be be configured. > {code} /** > * Indicates whether LogBufferManager should flush buffers > * before they are full. > * > *

Normally, buffers are flushed to disk only when > * they become full. In lightly loaded situations, > * one or more threads may have to wait until the > * flushSleepTime expires before the buffer is written. > * In the worst case, a single thread is using the > * log, and every put() with sync requested will > * be delayed flushSleepTime ms before the buffer is > * written. > * > *

Setting flushPartialBuffers true will allow > * the LogBufferManager to flush buffers to disk > * any time the channel is not busy. This improves > * throughput in single threaded and lightly loaded > * environments. > * > *

By default, this feature is disabled (false) to > * provide compatability with earlier versions of > * this library. > */ > private boolean flushPartialBuffers = false;{code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira