All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.soento.redis.config.RedisPropertiesWrapper Maven / Gradle / Ivy

package com.soento.redis.config;

import com.soento.core.consts.Constants;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.autoconfigure.data.redis.RedisProperties;

import java.time.Duration;

/**
 * @author soento
 */
@Getter
@Setter
public class RedisPropertiesWrapper extends RedisProperties {
    private String key = Constants.DEFAULT_SIGNING_KEY;
    private int cacheSeconds = 60;
    private Duration timeout = Duration.ofMillis(10000);
    private Jedis jedis;
    private Lettuce lettuce;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy