Red Hat Bugzilla – Bug 997229
RFE: Locate cache elements by value in client-server arch
Last modified: 2014-05-02 00:41:18 EDT
Add information about locating cache elements by value in a client-server architecture.
Source: JBoss DataGrid questions
This is only possible by using Remote Query feature. It might be good to point users to the Remote Query chapter in docs. I don't know about any other way of accomplishing this.
Martin is right, when we mention "locating by value" that implies using queries as we don't provide other (suggested) ways.
Might be nice to clarify that, although tecnically one could write some custom code to figure out an alternative plan, for example using Map/Reduce or simply iterating on the values provided the cache is not distributed and not using cachestores.. so saying that there is no other way could be misleading, I'd rather keep that open ended.
So for client-server, that means using Remote Query. This is a stronger statement for remote clients as we don't support Map/Reduce nor entry iteration from remote clients.