Uses of Class
com.google.appengine.api.memcache.Expiration
-
Packages that use Expiration Package Description com.google.appengine.api.memcache Provides fast but unreliable data storage, also accessible via a JCache interface. -
-
Uses of Expiration in com.google.appengine.api.memcache
Methods in com.google.appengine.api.memcache that return Expiration Modifier and Type Method Description static ExpirationExpiration. byDeltaMillis(int milliDelay)Creates anExpirationfor some number of milliseconds into the future.static ExpirationExpiration. byDeltaSeconds(int secondsDelay)Creates anExpirationfor some number of seconds in the future.ExpirationMemcacheService.CasValues. getExipration()static ExpirationExpiration. onDate(Date expirationTime)Creates an expiration at specific date/time.Methods in com.google.appengine.api.memcache with parameters of type Expiration Modifier and Type Method Description Future<Void>AsyncMemcacheService. put(Object key, Object value, Expiration expires)Future<Boolean>AsyncMemcacheService. put(Object key, Object value, Expiration expires, MemcacheService.SetPolicy policy)voidMemcacheService. put(Object key, Object value, Expiration expires)Convenience put, equivalent toput(key, value, expiration, SetPolicy.SET_ALWAYS).booleanMemcacheService. put(Object key, Object value, Expiration expires, MemcacheService.SetPolicy policy)Store a new value into the cache, usingkey, but subject to thepolicyregarding existing entries.Future<Void>AsyncMemcacheService. putAll(Map<?,?> values, Expiration expires)<T> Future<Set<T>>AsyncMemcacheService. putAll(Map<T,?> values, Expiration expires, MemcacheService.SetPolicy policy)voidMemcacheService. putAll(Map<?,?> values, Expiration expires)Convenience multi-put, equivalent toputAll(values, expires, SetPolicy.SET_ALWAYS).<T> Set<T>MemcacheService. putAll(Map<T,?> values, Expiration expires, MemcacheService.SetPolicy policy)Future<Boolean>AsyncMemcacheService. putIfUntouched(Object key, MemcacheService.IdentifiableValue oldValue, Object newValue, Expiration expires)<T> Future<Set<T>>AsyncMemcacheService. putIfUntouched(Map<T,MemcacheService.CasValues> values, Expiration expiration)booleanMemcacheService. putIfUntouched(Object key, MemcacheService.IdentifiableValue oldValue, Object newValue, Expiration expires)Atomically, storenewValueonly if no other value has been stored sinceoldValuewas retrieved.<T> Set<T>MemcacheService. putIfUntouched(Map<T,MemcacheService.CasValues> values, Expiration expiration)A batch-processing variant ofMemcacheService.putIfUntouched(Object, IdentifiableValue,Object,Expiration).Constructors in com.google.appengine.api.memcache with parameters of type Expiration Constructor Description CasValues(MemcacheService.IdentifiableValue oldValue, Object newValue, Expiration expiration)
-