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, setExpiryTimePerCache
public boolean isSupportingCacheArchitecture(String architecture)
public Cache createCache(String cacheName, String host, int port) throws Exception
Exception
protected void destroyConnectionClient(org.springframework.data.redis.connection.RedisConnectionFactory connectionClient) throws Exception
destroyConnectionClient
in class AbstractCacheFactory<org.springframework.data.redis.connection.RedisConnectionFactory>
Exception
protected org.springframework.data.redis.connection.RedisConnectionFactory createConnectionClient(String hostName, int port)
createConnectionClient
in class AbstractCacheFactory<org.springframework.data.redis.connection.RedisConnectionFactory>
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.