Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 66768 invoked from network); 6 Mar 2004 21:36:12 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 6 Mar 2004 21:36:12 -0000 Received: (qmail 92789 invoked by uid 500); 6 Mar 2004 21:36:00 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 92393 invoked by uid 500); 6 Mar 2004 21:35:57 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 92377 invoked from network); 6 Mar 2004 21:35:57 -0000 Received: from unknown (HELO naomi.webworks.nl) (24.132.161.79) by daedalus.apache.org with SMTP; 6 Mar 2004 21:35:57 -0000 Received: from hippo.nl ([10.10.20.106]) by naomi.webworks.nl with Microsoft SMTPSVC(5.0.2195.6713); Sat, 6 Mar 2004 22:35:57 +0100 Message-ID: <404A443E.6010903@hippo.nl> Date: Sat, 06 Mar 2004 22:35:58 +0100 From: Unico Hommes Organization: Hippo User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207) X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: cvs commit: cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl CachingSource.java AsyncCachingSource.java RefresherImpl.java References: <20040306210039.57293.qmail@minotaur.apache.org> In-Reply-To: <20040306210039.57293.qmail@minotaur.apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Mar 2004 21:35:57.0727 (UTC) FILETIME=[03034AF0:01C403C3] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N haul@apache.org wrote: > haul 2004/03/06 13:00:39 > > Modified: src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl > CachingSource.java AsyncCachingSource.java > RefresherImpl.java > Log: > Add log statements for swallowed exceptions > Extract some methods in RefresherImpl > Extract some constants in RefresherImpl > (IOW just moving things around) > > Revision Changes Path > 1.6 +18 -4 cocoon-2.1/src/blocks/scratchpad/java/org/apache/cocoon/components/source/impl/CachingSource.java > > :-( I had so many changes on my local FS for these classes. I totally reworked their implemenatations. Not your fault though. I should have worked more incrementally and checked them in sooner. I'll find a way to merge it all. Just to give you an idea of what I am doing here is a quick summary: Basically I want to move all communication with the Cache into the Refresher. I am renaming RefresherImpl to DelayRefresher and adding a Refresher implementation that is externally triggered by events. I am changing the location protocol string as discussed earlier. Probably can merge CachingSource and AsynchCachingSource. I also changed the way DelayRefresher persists its entry configurations to instead of doing a manual xml serialization of the data just dump the whole Map of entries into a persistent store. By the way I think you are the one to ask Christian: I noticed there is no scheduler.addPeriodicJob(.. Object job, ..) method. Is there a reason for this or can I add one? So that the Refresher can add itself and its update targets directly. Cheers, Unico