[Opensymphony-oscache] groups usage for a newbie

graulle <[email protected]> Fri, 29 Apr 2005 02:39:30 CDT
Newsgroups gmane.comp.java.open-symphony.os-cache
Message-ID <30070493.1114760400875.JavaMail.os-j2ee@opensymphony01.contegix.com>
Thank for the prompt answer.

I have an application that today keeps objects into a hashmap. These objects have a kind of owner being another object.
What I need in the application is to be able to query the full set by a key but also querying a subset of them (those that belong to a parent objet).
In a sense its a kind of partition of the full set.

I thought that groups could be a way to query either on the full set (group="ALL") or by parent(group="parent 1"). May be its a bad usage of groups.

It this helps ?

---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=1866&messageID=5746#5746