[Persistence-sig] A simple Observation API

Phillip J. Eby pje@telecommunity.com
Wed, 31 Jul 2002 17:42:48 -0400


At 04:26 PM 7/31/02 -0400, Jeremy Hylton wrote:
>> DM2.prepare()
>> DM3.prepare()
>> DM1.prepare()
>> 
>> DM2.vote()
>> DM3.vote()
>> DM1.vote()
>
>Note in the API I've proposed/implemented, there is only prepare(),
>not vote().  The resource manager should return True from prepare() if
>it is prepared to commit.
>

Note that this doesn't work correctly when resource managers are cascaded
and need re-flush messages, per the discussion between Shane and I.  :)