Package com.googlecode.objectify.cache
Class KeyMemcacheService
- java.lang.Object
-
- com.googlecode.objectify.cache.KeyMemcacheService
-
public class KeyMemcacheService extends Object
Like MemcacheService but translates keys and values into forms more palatable to the low level service. Also protects against no-ops (empty collections).- Author:
- Jeff Schnitzer
-
-
Constructor Summary
Constructors Constructor Description KeyMemcacheService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteAll(Collection<com.google.cloud.datastore.Key> keys)
Map<com.google.cloud.datastore.Key,Object>
getAll(Collection<com.google.cloud.datastore.Key> keys)
Map<com.google.cloud.datastore.Key,IdentifiableValue>
getIdentifiables(Collection<com.google.cloud.datastore.Key> keys)
void
putAll(Map<com.google.cloud.datastore.Key,Object> map)
Set<com.google.cloud.datastore.Key>
putIfUntouched(Map<com.google.cloud.datastore.Key,MemcacheService.CasPut> map)
-
-
-
Method Detail
-
getIdentifiables
public Map<com.google.cloud.datastore.Key,IdentifiableValue> getIdentifiables(Collection<com.google.cloud.datastore.Key> keys)
-
getAll
public Map<com.google.cloud.datastore.Key,Object> getAll(Collection<com.google.cloud.datastore.Key> keys)
-
putIfUntouched
public Set<com.google.cloud.datastore.Key> putIfUntouched(Map<com.google.cloud.datastore.Key,MemcacheService.CasPut> map)
-
deleteAll
public void deleteAll(Collection<com.google.cloud.datastore.Key> keys)
-
-