This content has been marked as final.
Show 3 replies
-
1. Re: How to store an object in POJOCache under multiple keys?
jason.greene Aug 9, 2007 11:50 AM (in response to brucespringfield)cache.attach("/foo1", object); cache.attach("/foo2", object);
-
2. Re: How to store an object in POJOCache under multiple keys?
brucespringfield Aug 9, 2007 3:04 PM (in response to brucespringfield)Hi Jason,
Thanks for your reply! Is there anything about the key that tells POJOCache this is the same object? Is it the '/' forward slash or does POJOCache just know its the same object and so does not save the same object again?
Thanks,
Bruce -
3. Re: How to store an object in POJOCache under multiple keys?
jason.greene Aug 9, 2007 6:45 PM (in response to brucespringfield)POJO Cache adds information to instrumented objects that allows it to determine if it has already been stored. On attach, if the object already exists, just a reference is created.