Right now I have to do this in order to use putIfUntouched:

-----------------------
Object myMemcacheObj = memcache.get(key);
IdentifiableValue idVal = memcache.getIdentifiable(key);

maybeTouchTheObj(myMemcacheObj);

memcache.putIfUntouched(key, idVal, myMemcacheObj);
-----------------------

But this results in two gets and one put to memcache.  Is there any way to 
get the IdentifiableValue and the cached object at the same time so I only 
have one get and one put?

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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to