Return-Path: Delivered-To: apmail-incubator-felix-dev-archive@www.apache.org Received: (qmail 66320 invoked from network); 28 Jun 2006 06:41:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Jun 2006 06:41:17 -0000 Received: (qmail 2310 invoked by uid 500); 28 Jun 2006 06:41:16 -0000 Delivered-To: apmail-incubator-felix-dev-archive@incubator.apache.org Received: (qmail 2246 invoked by uid 500); 28 Jun 2006 06:41:16 -0000 Mailing-List: contact felix-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: felix-dev@incubator.apache.org Delivered-To: mailing list felix-dev@incubator.apache.org Received: (qmail 2235 invoked by uid 99); 28 Jun 2006 06:41:15 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 23:41:15 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of fmeschbe@gmail.com designates 64.233.162.204 as permitted sender) Received: from [64.233.162.204] (HELO nz-out-0102.google.com) (64.233.162.204) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 23:41:15 -0700 Received: by nz-out-0102.google.com with SMTP id s1so1939534nze for ; Tue, 27 Jun 2006 23:40:54 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=rLwjnBGD2uEgzOknnu3ubyLIGHK5zCQijwtEjC9LtM19JrUTxNMphVefo8lglliyzrSwzY4X3iFR4g11jNy7pQEY5WllPkMySKICnjQ0n5ErdWXSLtRcmE+R0UiAmLdfYLjKhixWwnwqMw2toht5VRA3Xmo/jaYlZ7f4I4GUbuM= Received: by 10.36.50.15 with SMTP id x15mr652822nzx; Tue, 27 Jun 2006 23:40:54 -0700 (PDT) Received: by 10.36.146.15 with HTTP; Tue, 27 Jun 2006 23:40:54 -0700 (PDT) Message-ID: Date: Wed, 28 Jun 2006 08:40:54 +0200 From: "Felix Meschberger" Sender: fmeschbe@gmail.com To: felix-dev@incubator.apache.org Subject: Re: Non-File based Framework In-Reply-To: <44A19D00.8000806@ungoverned.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4497B4AE.9080900@ungoverned.org> <4497C233.4080103@ungoverned.org> <4497E133.2040907@ungoverned.org> <44A19D00.8000806@ungoverned.org> X-Google-Sender-Auth: 2601454564092acb X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Hi Richard, Thanks for the feedback. I am looking forward to your comments. Enjoy ApacheCon! Regards Felix On 6/27/06, Richard S. Hall wrote: > Hey Felix, > > FYI: I am at ApacheCon right now and will take a look at this next week > after I return...just didn't want you to think that I was ignoring it. > > -> richard > > > Felix Meschberger wrote: > > HI again, > > > > Based upon your recommendations, I tried to implement the abstract > > BundleCache and BundleArchive strategy as a prototype. > > > > I have not cleaned it up properly and there is in fact one problem > > with it: The BundleArchive constructors initiliaze the instances. When > > extending the BundleArchive for storage dependent implementations, the > > constructors of the base class do not yet know anything about the > > storage, but initialization depends on the storage. My solution is to > > introduce an init() method, which initializes and ist called by the > > BundleCache. > > > > I do not like this implementation very much as it kind of transfers > > responsibility for additional intialization to the caller. But in the > > short time, I did not come up with a better solution. > > > > I attach the patch for this prototype along with the File based > > implementation. > > > > What do you think: Could this be a way to go ? Should I post a Jira > > issue ? > > > > Regards and Thanks > > Felix, the person :-) > > > > On 6/20/06, Richard S. Hall wrote: > >> Felix Meschberger wrote: > >> > On 6/20/06, Richard S. Hall wrote: > >> >> In general, any solution for doing stuff like you have suggested, I > >> >> would hope, should concentrate on using/improving these existing > >> >> mechanisms rather than creating new ones. > >> > > >> > I definitely agree. Yet not being able to ammend BundleCache and > >> > BundleArchive, I am still required to have file system space - this > >> > sort of worries me. > >> > >> This is the sort of stuff that we can improve upon then. I am not > >> against making it once again possible to be able configure which > >> implementation of BundleCache to use. It was just removed because I had > >> no valid use case. We just need to discuss what is needed and how to > >> do it. > >> > >> -> richard > >> >