zhuguifei
2025-04-28 442928123f63ee497d766f9a7a14f0a6ee067e25
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
package org.jeecg.boot.starter.lock.prop;
 
import lombok.Data;
import org.jeecg.boot.starter.lock.enums.RedisConnectionType;
import org.springframework.boot.context.properties.ConfigurationProperties;
 
/**
 * Redisson配置映射类
 *
 * @author zyf
 * @date 2020-11-11
 */
@Data
@ConfigurationProperties(prefix = "jeecg.redisson")
public class RedissonProperties {
 
    /**
     * redis主机地址,ip:port,多个用逗号(,)分隔
     */
    private String address;
    /**
     * 连接类型
     */
    private RedisConnectionType type;
    /**
     * 密码
     */
    private String password;
    /**
     * 数据库(默认0)
     */
    private int database;
 
    /**
     * 是否装配redisson配置
     */
    private Boolean enabled = true;
 
}