public class RedisCacheFactory extends AbstractCacheFactory<org.springframework.data.redis.connection.RedisConnectionFactory>
| Constructor and Description |
|---|
RedisCacheFactory() |
RedisCacheFactory(Map<String,Integer> expiryTimePerCache,
int expiryTime) |
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
isSupportingCacheArchitecture(String architecture) |
destroy, getConnectionFactory, getExpiryTime, getExpiryTime, setExpiryTime, setExpiryTimePerCachepublic boolean isSupportingCacheArchitecture(String architecture)
public 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>Copyright © 2021 Pivotal Software, Inc.. All rights reserved.