public class RedisStore<T> extends Object implements KeyValueStore<T>
| Constructor and Description |
|---|
RedisStore(org.springframework.data.redis.core.RedisOperations<String,T> redisTemplate,
String key) |
| Modifier and Type | Method and Description |
|---|---|
T |
get(String key) |
boolean |
hasKey(String key) |
void |
put(String key,
T invitations) |
boolean |
putIfAbsent(String key,
T value) |
void |
remove(String key) |
Collection<T> |
values() |
public boolean hasKey(String key)
hasKey in interface KeyValueStore<T>public T get(String key)
get in interface KeyValueStore<T>public void remove(String key)
remove in interface KeyValueStore<T>public void put(String key, T invitations)
put in interface KeyValueStore<T>public boolean putIfAbsent(String key, T value)
putIfAbsent in interface KeyValueStore<T>public Collection<T> values()
values in interface KeyValueStore<T>Copyright © 2016 Pivotal Software, Inc.. All rights reserved.