Class HawaiiRedisCacheBuilder


  • public class HawaiiRedisCacheBuilder
    extends Object
    Builder class for the creation of a RedisCache.

    Default values are as followed:

    Prefix : Hawaii, Key Serializer : StringRedisSerializer, Value Serializer : JdkSerializationRedisSerializer

    Author:
    Richard Kohlen
    • Constructor Detail

      • HawaiiRedisCacheBuilder

        public HawaiiRedisCacheBuilder​(RedisConfigurationProperties cacheConfiguration,
                                       org.springframework.data.redis.connection.jedis.JedisConnectionFactory jedisConnectionFactory,
                                       HawaiiTime hawaiiTime)
        Constructor.
        Parameters:
        cacheConfiguration - The redis configuration
        jedisConnectionFactory - The Jedis connection factory