Package com.googlecode.objectify.cache
Class KeyMemcacheService
java.lang.Object
com.googlecode.objectify.cache.KeyMemcacheService
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 invalid input: '<'[email protected]>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
deleteAll
(Collection<com.google.cloud.datastore.Key> keys) getAll
(Collection<com.google.cloud.datastore.Key> keys) Map<com.google.cloud.datastore.Key,
IdentifiableValue> getIdentifiables
(Collection<com.google.cloud.datastore.Key> keys) void
Set<com.google.cloud.datastore.Key>
putIfUntouched
(Map<com.google.cloud.datastore.Key, MemcacheService.CasPut> map)
-
Constructor Details
-
KeyMemcacheService
public KeyMemcacheService()
-
-
Method Details
-
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) -
putAll
-
putIfUntouched
public Set<com.google.cloud.datastore.Key> putIfUntouched(Map<com.google.cloud.datastore.Key, MemcacheService.CasPut> map) -
deleteAll
-