com.gc.easy.redis.redisson.RedissonProperties Maven / Gradle / Ivy
The newest version!
package com.gc.easy.redis.redisson;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
@ConfigurationProperties(prefix = "redisson")
@Data
public class RedissonProperties {
private int timeout = 3000;
private String address;
private String password;
private int database = 0;
private int connectionPoolSize = 64;
private int connectionMinimumIdleSize = 10;
private int slaveConnectionPoolSize = 250;
private int masterConnectionPoolSize = 250;
private String[] sentinelAddresses;
private String masterName;
private int scanInterval = 2000;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy