From dev-return-29430-apmail-forrest-dev-archive=forrest.apache.org@forrest.apache.org Sat Aug 23 03:53:06 2008 Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 388 invoked from network); 23 Aug 2008 03:53:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 23 Aug 2008 03:53:06 -0000 Received: (qmail 36025 invoked by uid 500); 23 Aug 2008 03:53:04 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 35981 invoked by uid 500); 23 Aug 2008 03:53:04 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@forrest.apache.org List-Id: Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 35970 invoked by uid 99); 23 Aug 2008 03:53:04 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Aug 2008 20:53:04 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 23 Aug 2008 03:52:15 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 76207234C1C3 for ; Fri, 22 Aug 2008 20:52:45 -0700 (PDT) Message-ID: <686280899.1219463565482.JavaMail.jira@brutus> Date: Fri, 22 Aug 2008 20:52:45 -0700 (PDT) From: "David Crossley (JIRA)" To: dev@forrest.apache.org Subject: [jira] Updated: (FOR-737) Enable dynamic reloading of properties In-Reply-To: <1672306158.1132584461950.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FOR-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Crossley updated FOR-737: ------------------------------- Summary: Enable dynamic reloading of properties (was: Enabble dynamic reloading of properties) Fixed spelling error in Jira Issue Summary. > Enable dynamic reloading of properties > -------------------------------------- > > Key: FOR-737 > URL: https://issues.apache.org/jira/browse/FOR-737 > Project: Forrest > Issue Type: Sub-task > Components: Core operations > Reporter: Ross Gardler > Priority: Minor > > Since properties will no longer need to be defined in the forrest.xconf file it will be possible to enable dynamic reloading of properties at runtime. > All we need to do is keep a check of when the properties file was last loaded and check this against the last modified time of the properties file. When necessary reload. > This should be configurable though as it has implications on performance since the check will be made every time an property value is retreived. > I suggest the following options: > - always check and reload when the file changes > - only check and reload when a property value is not currently defined > - only check and reload every X minutes (should above to options should apply here too) > - never check and reload > The initial settings for this reload option can be set in the properties file itself and applied when it is loaded/reloaded. Of course, this means if it is set to "never check and reload" a restart will be required to have changes take effect. Therefore this setting is for production servers only. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.