[infinispan-dev] Node being an owner of key
Bela Ban
bban at redhat.com
Fri Mar 11 02:22:30 EST 2011
On 3/10/11 7:54 PM, Vladimir Blagojevic wrote:
> Hey,
>
> Can we make method getAddress public on DistributionManager?
Can't you grab RpcManager and call getAddress() on it instead of
DistributionManager ?
> Either that or add a new method to DistributionManager which returns true if node is
> an owner of a key, that is, if key is local and locate(key) returns a
> list of addresses where first address equals to this node.
There's isLocal() but I see it's been deprecated...
--
Bela Ban
Lead JGroups / Clustering Team
JBoss
More information about the infinispan-dev
mailing list