From uima-dev-return-7732-apmail-incubator-uima-dev-archive=incubator.apache.org@incubator.apache.org Tue Jul 15 08:29:58 2008 Return-Path: Delivered-To: apmail-incubator-uima-dev-archive@locus.apache.org Received: (qmail 66389 invoked from network); 15 Jul 2008 08:29:58 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 08:29:58 -0000 Received: (qmail 10745 invoked by uid 500); 15 Jul 2008 08:29:58 -0000 Delivered-To: apmail-incubator-uima-dev-archive@incubator.apache.org Received: (qmail 10715 invoked by uid 500); 15 Jul 2008 08:29:58 -0000 Mailing-List: contact uima-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: uima-dev@incubator.apache.org Delivered-To: mailing list uima-dev@incubator.apache.org Received: (qmail 10704 invoked by uid 99); 15 Jul 2008 08:29:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 01:29:58 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of twgoetz@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 15 Jul 2008 08:29:04 +0000 Received: (qmail invoked by alias); 15 Jul 2008 08:28:26 -0000 Received: from blueice4n1.de.ibm.com (EHLO [9.152.14.84]) [195.212.29.187] by mail.gmx.net (mp031) with SMTP; 15 Jul 2008 10:28:26 +0200 X-Authenticated: #25330878 X-Provags-ID: V01U2FsdGVkX182/2cZEaM28yygVkA3AEV4RN1x/dX+x03IZS2Q67 ka0eRPTR5Mz+bt Message-ID: <487C5FAA.2040501@gmx.de> Date: Tue, 15 Jul 2008 10:28:26 +0200 From: Thilo Goetz User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: uima-dev@incubator.apache.org Subject: Re: Delta CAS References: <2a5d14d10807080658m18904f1dvec8ecd422fadfe33@mail.gmail.com> <4873CEC8.7000104@gmx.de> <487451F5.30907@gmx.de> <48750554.4070901@schor.com> <4875D5B7.9000607@gmx.de> <48763F7F.9020206@schor.com> <2a5d14d10807140726j3c354748x4ee2a1312c019367@mail.gmail.com> <487B6553.2080507@gmx.de> <2a5d14d10807140925p4dcbf97ej480b5a5e0752607e@mail.gmail.com> In-Reply-To: <2a5d14d10807140925p4dcbf97ej480b5a5e0752607e@mail.gmail.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.67 X-Virus-Checked: Checked by ClamAV on apache.org Bhavani Iyer wrote: > OK I agree. What's required is something like the following. > > /** sets the high water mark and returns the marker object. */ > Marker getHighWaterMark(); How about just getMarker(), since that is what it does. > > /** default to false (disabled) and enabled when high water mark is set via > above api. */ > boolean isDeltaCasJournalingEnabled(); Why would getMarker() enable such a setting? Why do we need this API at all? The journaling should be enabled by a performance tuning setting, like the other global options we have. Who else needs to know about it other than the CAS? > > public interface Marker { > boolean isAboveHighWaterMark(FeatureStructure fs); > } How about isNew()? --Thilo