It could be done using {{org.infinispan.AtomicMap}} or using the Grouping API. The main preference seems to be the Grouping API
Both solutions are currently not supported by HotRod but there are two open issues: - https://issues.jboss.org/browse/ISPN-3732 - https://issues.jboss.org/browse/ISPN-3733
For the grouping API, we also need a method in the embedded interface, something like {{EmbeddedCache.getGroup(G)}}
Methods needed in the {{RemoteCache}} should be: - {{RemoteClient.put(G g, K k, V v); //first param is the group}} - {{RemoteClinet.getGroup(G g) : Map<K,V>}}; - {{RemoteClient.get(G g, K k)}}
ML discussion: http://markmail.org/thread/z7pwchtcvijawxik
|