[jboss-user] [JBossCache] - Re: Multiple Objects under a single key in POJOCache?

BruceSpringfield do-not-reply at jboss.com
Tue Aug 14 03:51:23 EDT 2007


Hi Jason,

"jason.greene at jboss.com" wrote : Id really should be called Fqn in the signature. You can use this method to find all objects at a particular location in the cache.
  | 
  | For example:
  | 
  |   | cache.attach("/people/Bob", bob);
  |   | cache.attach("/people/Fred", fred);
  |   | cache.attach("/group/Admins", admins);
  |   | 
  |   | // Returns Bob and Fred
  |   | cache.findAll("/people");
  |   | 
  | 
  | -Jason
  | 
  | 

Thanks for the reply!!  Yes, that's make it much clearer!

Kind regards

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073854#4073854

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073854



More information about the jboss-user mailing list