public interface MemcacheService
Modifier and Type | Interface and Description |
---|---|
static class |
MemcacheService.CasPut |
Modifier and Type | Method and Description |
---|---|
void |
deleteAll(Collection<String> keys) |
Object |
get(String key) |
Map<String,Object> |
getAll(Collection<String> keys) |
Map<String,IdentifiableValue> |
getIdentifiables(Collection<String> keys)
For cache implementations that don't handle a cold cache for a key (eg memcached), the implementation
of this method needs to hide that behavior (ie, bootstrap an initial value so we can get a CAS value).
|
void |
put(String key,
Object thing)
Values can be null
|
void |
putAll(Map<String,Object> values)
Values can be null
|
Set<String> |
putIfUntouched(Map<String,MemcacheService.CasPut> values)
Values can be null
|
Map<String,IdentifiableValue> getIdentifiables(Collection<String> keys)
Map<String,Object> getAll(Collection<String> keys)
Set<String> putIfUntouched(Map<String,MemcacheService.CasPut> values)
void deleteAll(Collection<String> keys)
Copyright © 2018. All rights reserved.