uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bhavani Iyer" <bhavan...@gmail.com>
Subject Re: Delta CAS
Date Mon, 21 Jul 2008 11:41:41 GMT
On Tue, Jul 15, 2008 at 4:28 AM, Thilo Goetz <twgoetz@gmx.de> wrote:

> 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.
> Sounds good.
>
>>
>>  /** 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?
>


> You're right.
>
>>
>>  public interface Marker {
>>     boolean isAboveHighWaterMark(FeatureStructure fs);
>>  }
>>
>
> How about isNew()?


      This sounds good too.



>
> --Thilo
>
>   Bhavani

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message