[infinispan-dev] Introducing JGroups scopes

Vladimir Blagojevic vblagoje at redhat.com
Fri Jan 28 14:52:28 EST 2011


Hey,

JGroups scopes [1] have been implemented for a while now and we should 
think about using them in Infinispan. I looked around a bit to see how 
we can use scope and satisfy requirements Manik outlined [2]. I think a 
good idea would be to introduce scope method in InvocationContext? We 
can start by implementing scope to return hash of cache name where 
invocation originated and subsequently refine this scope by adding 
GlobalTransaction and so on. Users, if they really need to scope their 
calls could do so by attaching additional markers to InvocationContext 
or smth similar.

WDYT?


[1]https://issues.jboss.org/browse/JGRP-822
[2]https://issues.jboss.org/browse/ISPN-3


More information about the infinispan-dev mailing list