Package | Description |
---|---|
org.springframework.data.redis.cache |
Package providing a Redis implementation for Spring cache abstraction.
|
Modifier and Type | Method and Description |
---|---|
RedisCacheElement |
RedisCacheElement.expireAfter(long seconds)
Expire the element after given seconds.
|
RedisCacheElement |
RedisCache.get(RedisCacheKey cacheKey)
Return the value to which this cache maps the specified key.
|
Modifier and Type | Method and Description |
---|---|
void |
RedisCache.evict(RedisCacheElement element) |
void |
RedisCache.put(RedisCacheElement element)
Add the element by adding
SimpleValueWrapper.get() at getKeyBytes() . |
Cache.ValueWrapper |
RedisCache.putIfAbsent(RedisCacheElement element)
Add the element as long as no element exists at
getKeyBytes() . |
Copyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.