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

club.kingyin.easycache.core.config.Redis Maven / Gradle / Ivy

The newest version!
package club.kingyin.easycache.core.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "easycache.redis")
public class Redis {

    private String host = "127.0.0.1";

    private String password = EasyCacheProperties.EMPTY_STRING;

    private int port = 6379;

    private long minEvictableIdleTime = 60000;

    private long timeBetweenEvictionRuns = 30000;

    private long maxWait = 100000;

    private int maxIdle = 100;

    private int minIdle = 10;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy