
com.binarywang.spring.starter.wxjava.mp.properties.WxMpMultiRedisProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wx-java-mp-multi-spring-boot-starter Show documentation
Show all versions of wx-java-mp-multi-spring-boot-starter Show documentation
微信公众号开发的 Spring Boot Starter::支持多账号配置
The newest version!
package com.binarywang.spring.starter.wxjava.mp.properties;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.io.Serializable;
/**
* @author yl
* created on 2024/1/23
*/
@Data
@NoArgsConstructor
public class WxMpMultiRedisProperties implements Serializable {
private static final long serialVersionUID = -5924815351660074401L;
/**
* 主机地址.
*/
private String host = "127.0.0.1";
/**
* 端口号.
*/
private int port = 6379;
/**
* 密码.
*/
private String password;
/**
* 超时.
*/
private int timeout = 2000;
/**
* 数据库.
*/
private int database = 0;
/**
* sentinel ips
*/
private String sentinelIps;
/**
* sentinel name
*/
private String sentinelName;
private Integer maxActive;
private Integer maxIdle;
private Integer maxWaitMillis;
private Integer minIdle;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy