Interface AsyncMemcacheService
-
- All Superinterfaces:
BaseMemcacheService
public interface AsyncMemcacheService extends BaseMemcacheService
An asynchronous version ofMemcacheService
. All methods return immediately and provideFutures
as their return values.
-
-
Method Summary
-
Methods inherited from interface com.google.appengine.api.memcache.BaseMemcacheService
getErrorHandler, getNamespace, setErrorHandler
-
-
-
-
Method Detail
-
get
Future<Object> get(Object key)
- See Also:
MemcacheService.get(Object)
-
getIdentifiable
Future<MemcacheService.IdentifiableValue> getIdentifiable(Object key)
- See Also:
MemcacheService.getIdentifiable(Object)
-
getIdentifiables
<T> Future<Map<T,MemcacheService.IdentifiableValue>> getIdentifiables(Collection<T> keys)
-
getItemForPeek
Future<MemcacheService.ItemForPeek> getItemForPeek(Object key)
- See Also:
MemcacheService.getItemForPeek(Object)
-
getItemsForPeek
<T> Future<Map<T,MemcacheService.ItemForPeek>> getItemsForPeek(Collection<T> keys)
-
contains
Future<Boolean> contains(Object key)
- See Also:
MemcacheService.contains(Object)
-
getAll
<T> Future<Map<T,Object>> getAll(Collection<T> keys)
- See Also:
MemcacheService.getAll(Collection)
-
put
Future<Boolean> put(Object key, Object value, Expiration expires, MemcacheService.SetPolicy policy)
-
put
Future<Void> put(Object key, Object value, Expiration expires)
-
put
Future<Void> put(Object key, Object value)
- See Also:
MemcacheService.put(Object, Object)
-
putAll
<T> Future<Set<T>> putAll(Map<T,?> values, Expiration expires, MemcacheService.SetPolicy policy)
-
putAll
Future<Void> putAll(Map<?,?> values, Expiration expires)
- See Also:
MemcacheService.putAll(Map, Expiration)
-
putAll
Future<Void> putAll(Map<?,?> values)
- See Also:
MemcacheService.putAll(Map)
-
putIfUntouched
Future<Boolean> putIfUntouched(Object key, MemcacheService.IdentifiableValue oldValue, Object newValue, Expiration expires)
-
putIfUntouched
Future<Boolean> putIfUntouched(Object key, MemcacheService.IdentifiableValue oldValue, Object newValue)
-
putIfUntouched
<T> Future<Set<T>> putIfUntouched(Map<T,MemcacheService.CasValues> values)
- See Also:
MemcacheService.putIfUntouched(Map)
-
putIfUntouched
<T> Future<Set<T>> putIfUntouched(Map<T,MemcacheService.CasValues> values, Expiration expiration)
-
delete
Future<Boolean> delete(Object key)
- See Also:
MemcacheService.delete(Object)
-
delete
Future<Boolean> delete(Object key, long millisNoReAdd)
- See Also:
MemcacheService.delete(Object, long)
-
deleteAll
<T> Future<Set<T>> deleteAll(Collection<T> keys)
- See Also:
MemcacheService.deleteAll(Collection)
-
deleteAll
<T> Future<Set<T>> deleteAll(Collection<T> keys, long millisNoReAdd)
-
increment
Future<Long> increment(Object key, long delta)
- See Also:
MemcacheService.increment(Object, long)
-
incrementAll
<T> Future<Map<T,Long>> incrementAll(Collection<T> keys, long delta)
-
incrementAll
<T> Future<Map<T,Long>> incrementAll(Collection<T> keys, long delta, Long initialValue)
-
incrementAll
<T> Future<Map<T,Long>> incrementAll(Map<T,Long> offsets)
- See Also:
MemcacheService.incrementAll(Map)
-
incrementAll
<T> Future<Map<T,Long>> incrementAll(Map<T,Long> offsets, Long initialValue)
- See Also:
MemcacheService.incrementAll(Map, Long)
-
clearAll
Future<Void> clearAll()
- See Also:
MemcacheService.clearAll()
-
getStatistics
Future<Stats> getStatistics()
- See Also:
MemcacheService.getStatistics()
-
-