Re: Would the community be interested in these features?

Leo Mekenkamp <[email protected]>
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
On Mon, 2004-04-26 at 02:18, [email protected] wrote:
> Folks,
> 
> Would the ozone community be interested in the following 
> features (still being tested):

This thread would be more on its place on the developers list, but I'll
reply anyway ;-)

All comments IMHO...

>    Major feature:
>     - Nested Transactions

Nested external transactions would be an obvious plus, even for an
anti-external transaction zealot like me. Since this changes the API and
thus could break current working programs, this would have to be an
optional feature. Do you have a new constructor with a 'boolean nested'
parameter?

>    Minor feature:
>     - Dirty reads (changes also increase read performance).

What exactely do you mean with dirty reads? If you mean that a
write-locked object (lock by tx A) can be read-locked by another
transaction (tx B), where tx B would see the 'previous incarnation' or
'rolled-back version' of that object, then I would have to object (pun
intended), since this leads to data integrity problems and hard to trace
logic errors.

>    Whatever feature:
>     - Explicit transactions throw an exception indicating that
>       the transaction would block.
>       Implicit transactions still block (in keeping with the
>       current behavior).

Could be helpful in some exotic situations. Again, this would have to be
optional, since it changes the API. A 'boolean throwExceptionOnBlock'
parameter on a new constructor?

Cheers,
Leo




-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg=12297
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.