Selecting a ContentionManager

8 views
Skip to first unread message

Carmelo Polito

unread,
May 12, 2011, 9:28:47 AM5/12/11
to Deuce-STM developers
Hi,

Can you tell me how can i select a specific CM for my application?
For example i use the TL2CM context that use Suicide policy by
default. implementation by running:

java -javaagent:deuceAgent.jar -
Dorg.deuce.transaction.contextClass=org.deuce.transaction.lsacm.Context
Myapp


If i want to use the TL2 Polka implementation, which statement should
i use for my purpose?


Regards.

Guy Korland

unread,
May 12, 2011, 9:34:36 AM5/12/11
to deuce-stm-...@googlegroups.com
You need to set a -Dorg.deuce.transaction.tl2cm.ContentionManager="Suicide" or other CM.
See org.deuce.transaction.tl2cm.Factory for all the options.

Guy


--
You received this message because you are subscribed to the Google Groups "Deuce-STM developers" group.
To post to this group, send email to deuce-stm-...@googlegroups.com.
To unsubscribe from this group, send email to deuce-stm-develo...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/deuce-stm-developers?hl=en.


Carmelo Polito

unread,
May 12, 2011, 2:29:45 PM5/12/11
to Deuce-STM developers
Thanks for helping.

Carmelo

On 12 Mag, 15:34, Guy Korland <gkorl...@gmail.com> wrote:
> You need to set a -Dorg.deuce.transaction.tl2cm.ContentionManager="Suicide"
> or other CM.
> See org.deuce.transaction.tl2cm.Factory for all the options.
>
> Guy
>
Reply all
Reply to author
Forward
0 new messages