Re: So why are things being executed twice on every transaction?

Naveen Chawla <[email protected]>
Newsgroups gmane.comp.java.prevayler
Message-ID <CAGs7EcXioygxzSeujqk+_BCkK37yhpDecaCFdGdCvVn=43qmUg@mail.gmail.com>
Klaus, would you like my fork to lose transaction filtering? Does it
really have no use whatsoever (I have no idea)?

The changes would be:

Remove censorship package and all references to it (3 files).

Change method name of "CentralPublisher#approve" to name of your
choice since there's no longer any "approving" happening in it (as
"_censor.approve" is gone).

Remove PrevaylerFactory#configureTransactionFilteing,
"_transactionFiltering" and all uses of it.

Remove "guaranteeTransactionDeepCopy" (new) and all uses of it (both
method and variables, since it's only used to force deep-copy during
food-tasting to prevent direct-mode from acting twice on the same
references).
?

Or should I just change _transactionFiltering from "true" to "false"
by default (invoking the "LiberalTransactionCensor")?
Or should I just leave it as-is?

On 7 November 2011 19:24, Klaus Wuestefeld <[email protected]> wrote:
> I would remove the food taster.
>
> Anyone have a serious project out there with the food taster on? The
> ones I know about don't use it.
>
> Klaus
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
To unsubscribe go to the end of this page: http://lists.sourceforge.net/lists/listinfo/prevayler-discussion
_______________________________________________
"Databases in Memoriam" -- http://www.prevayler.org
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.