[appengine-java] Re: JCache

2010-07-19 Thread pdias
Yes it needs to be “serializable”.
Thanks for your answer.
pdias

On 19 Jul, 09:30, Hariharan Anantharaman
 wrote:
> As long as the objects are serializable, I believe we can store them in
> jcache.
>
> ~hari
>
> On Jul 19, 2010 9:15 AM, "pdias"  wrote:
>
> Is possible to save object instances using JCache?
>
> I have tried and received the following message:
> javax.servlet.ServletException: java.lang.IllegalArgumentException:
> can't accept class CLASSNAME as a memcache entity
>
> Thanks
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to google-appengine-j...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine-java+unsubscr...@googlegroups.com unsubscr...@googlegroups.com>
> .
> For more options, visit this group 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.



[appengine-java] Re: JCache API memcache expiration. Low-level memcache API.

2009-12-19 Thread R. A.
> How to obtain a Low-level Memcache instance?

...The cache is accessed via a MemcacheService object, obtained from
the MemcacheServiceFactory.
http://code.google.com/appengine/docs/java/javadoc/com/google/appengine/api/memcache/package-summary.html

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.




[appengine-java] Re: JCache best practices

2009-09-04 Thread Erem

> What about CacheFactory?

On second thought, I suppose I should'nt just carry one of these
around cause then I could never get to the same cache again w/o going
back to an instance of CacheManager

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-java@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en
-~--~~~~--~~--~--~---