通用框架平台,每个分支对应子通用框架平台,禁止Merge不同分支!! 分支版本区别见项目内readme.md
whycxzp
2024-01-10 9a2b1251fc48874b76d3b02dbfc306698325dfeb
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
package com.whyc.properties;
 
import org.springframework.boot.context.properties.ConfigurationProperties;
 
@ConfigurationProperties(prefix = "redis",ignoreUnknownFields = true)
public class RedisProperties {
 
    private String mode;
 
    private Integer timeout;
 
    private Long globalSessionTimeout;
 
    private String password;
 
    private RedisPoolProperties pool;
 
    private RedisSingleProperties single;
 
    private RedisSentinelProperties sentinel;
 
    private RedisClusterProperties cluster;
 
    public String getMode() {
        return mode;
    }
 
    public void setMode(String mode) {
        this.mode = mode;
    }
 
    public Integer getTimeout() {
        return timeout;
    }
 
    public void setTimeout(Integer timeout) {
        this.timeout = timeout;
    }
 
    public Long getGlobalSessionTimeout() {
        return globalSessionTimeout;
    }
 
    public void setGlobalSessionTimeout(Long globalSessionTimeout) {
        this.globalSessionTimeout = globalSessionTimeout;
    }
 
    public String getPassword() {
        return password;
    }
 
    public void setPassword(String password) {
        this.password = password;
    }
 
    public RedisPoolProperties getPool() {
        return pool;
    }
 
    public void setPool(RedisPoolProperties pool) {
        this.pool = pool;
    }
 
    public RedisSingleProperties getSingle() {
        return single;
    }
 
    public void setSingle(RedisSingleProperties single) {
        this.single = single;
    }
 
    public RedisSentinelProperties getSentinel() {
        return sentinel;
    }
 
    public void setSentinel(RedisSentinelProperties sentinel) {
        this.sentinel = sentinel;
    }
 
    public RedisClusterProperties getCluster() {
        return cluster;
    }
 
    public void setCluster(RedisClusterProperties cluster) {
        this.cluster = cluster;
    }
}