public class RedisMemcacheService extends Object implements com.googlecode.objectify.cache.MemcacheService
| Constructor and Description |
|---|
RedisMemcacheService(String host) |
RedisMemcacheService(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteAll(Collection<String> keys) |
Object |
get(String key) |
Map<String,Object> |
getAll(Collection<String> keys) |
Map<String,com.googlecode.objectify.cache.IdentifiableValue> |
getIdentifiables(Collection<String> keys) |
void |
put(String key,
Object value) |
void |
putAll(Map<String,Object> values) |
Set<String> |
putIfUntouched(Map<String,com.googlecode.objectify.cache.MemcacheService.CasPut> values) |
public RedisMemcacheService(String host)
public RedisMemcacheService(String host, int port)
public Object get(String key)
get in interface com.googlecode.objectify.cache.MemcacheServicepublic Map<String,com.googlecode.objectify.cache.IdentifiableValue> getIdentifiables(Collection<String> keys)
getIdentifiables in interface com.googlecode.objectify.cache.MemcacheServicepublic Map<String,Object> getAll(Collection<String> keys)
getAll in interface com.googlecode.objectify.cache.MemcacheServicepublic void put(String key, Object value)
put in interface com.googlecode.objectify.cache.MemcacheServicepublic Set<String> putIfUntouched(Map<String,com.googlecode.objectify.cache.MemcacheService.CasPut> values)
putIfUntouched in interface com.googlecode.objectify.cache.MemcacheServicepublic void putAll(Map<String,Object> values)
putAll in interface com.googlecode.objectify.cache.MemcacheServicepublic void deleteAll(Collection<String> keys)
deleteAll in interface com.googlecode.objectify.cache.MemcacheServiceCopyright © 2019. All rights reserved.