[jbosscache-issues] [JBoss JIRA] Created: (JBCACHE-1418) Expose locality of data for partitioned caches
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Wed Oct 1 05:35:20 EDT 2008
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
Fix For: 3.2.0
After we implement a distributed cache based on partitioning, JBCACHE-61, 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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosscache-issues
mailing list