public class DefaultRedisCachePrefix extends Object implements RedisCachePrefix
RedisCachePrefix
which uses the given cache name and a delimiter for creating the
prefix.Constructor and Description |
---|
DefaultRedisCachePrefix() |
DefaultRedisCachePrefix(String delimiter) |
Modifier and Type | Method and Description |
---|---|
byte[] |
prefix(String cacheName)
Returns the prefix for the given cache (identified by name).
|
public DefaultRedisCachePrefix()
public DefaultRedisCachePrefix(String delimiter)
public byte[] prefix(String cacheName)
RedisCachePrefix
prefix
in interface RedisCachePrefix
cacheName
- the name of the cache using the prefixCopyright © 2011-2016–2016 Pivotal Software, Inc.. All rights reserved.