[
https://jira.jboss.org/jira/browse/JBCACHE-1418?page=com.atlassian.jira.p...
]
Manik Surtani updated JBCACHE-1418:
-----------------------------------
Description:
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
was:
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
Affects: [Documentation (Ref Guide, User Guide, etc.)]
Labels: executor compute grid partitioning distributed cache (was: )
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-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:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira