On Tue, Jul 15, 2008 at 4:28 AM, Thilo Goetz <[EMAIL PROTECTED]> 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