public class CommandCacheImpl extends Object implements CommandCache
| Constructor and Description |
|---|
CommandCacheImpl(org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate,
CommandProperties commandProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
cache(String key,
String value) |
void |
evict(String key) |
String |
get(String key) |
public CommandCacheImpl(org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate,
CommandProperties commandProperties)
public String get(String key)
get in interface CommandCachepublic void cache(String key, String value)
cache in interface CommandCachepublic void evict(String key)
evict in interface CommandCacheCopyright © 2021 Pivotal Software, Inc.. All rights reserved.