Class 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 Detail

      • KeyMemcacheService

        public KeyMemcacheService()
    • 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)
      • putAll

        public void putAll​(Map<com.google.cloud.datastore.Key,​Object> map)
      • 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)