public class RedisCacheFactory extends AbstractCacheFactory<org.springframework.data.redis.connection.RedisConnectionFactory>
| Constructor and Description |
|---|
RedisCacheFactory() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.cache.Cache |
createCache(String cacheName,
String host,
int port) |
protected org.springframework.data.redis.connection.RedisConnectionFactory |
createConnectionClient(String hostName,
int port) |
protected void |
destroyConnectionClient(org.springframework.data.redis.connection.RedisConnectionFactory connectionClient) |
protected org.springframework.data.redis.core.RedisTemplate<?,?> |
getRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory) |
boolean |
isSupportingCacheArchitecture(String architecture) |
destroy, getConnectionFactory, getExpiryTime, getExpiryTime, setExpiryTime, setExpiryTimePerCachepublic boolean isSupportingCacheArchitecture(String architecture)
public org.springframework.cache.Cache createCache(String cacheName, String host, int port) throws Exception
Exceptionprotected void destroyConnectionClient(org.springframework.data.redis.connection.RedisConnectionFactory connectionClient)
throws Exception
destroyConnectionClient in class AbstractCacheFactory<org.springframework.data.redis.connection.RedisConnectionFactory>Exceptionprotected org.springframework.data.redis.connection.RedisConnectionFactory createConnectionClient(String hostName, int port)
createConnectionClient in class AbstractCacheFactory<org.springframework.data.redis.connection.RedisConnectionFactory>protected org.springframework.data.redis.core.RedisTemplate<?,?> getRedisTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.