]
Manik Surtani resolved JBCACHE-1418.
------------------------------------
Fix Version/s: (was: 3.2.0.GA)
Resolution: Won't Fix
Expose locality of data for partitioned caches
----------------------------------------------
Key: JBCACHE-1418
URL:
https://jira.jboss.org/jira/browse/JBCACHE-1418
Project: JBoss Cache
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Replication
Reporter: Manik Surtani
Assignee: Manik Surtani
After we implement a distributed cache based on partitioning, JBCACHE-60, we should also
expose a mechanism to locate data within a cluster, to help compute grid products like
FishFarm (
https://fishfarm.dev.java.net/) and GridGain (
http://www.gridgain.org). Perhaps
something like:
DataLocator dl = Cache.getDataLocator(); // return a null if not using a partitioned
cache? Or a specialized DataLocator that statically assumes a fully replicated cache or a
local cache depending on cache mode?
List<Address> addresses = dl.locate(myFqn); // locate single fqns. Return a list
of addresses since it may exist on > 1 node
Map<Fqn, List<Address>> as = dl.locate(fqn1, fqn2, fqn3); // locate multiple
fqns
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: