cn.structure.starter.redisson.properties.ClusterProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of structure-redisson-starter Show documentation
Show all versions of structure-redisson-starter Show documentation
封装 redisson 将封装成启动器,并且对分布式锁和缓存进行封装
The newest version!
package cn.structure.starter.redisson.properties;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Map;
/**
*
* 集群配置
*
*/
@Getter
@Setter
@ToString
public class ClusterProperties extends MultipleServerProperties {
/**
* nat的映射配置
*/
private Map natMap = Collections.emptyMap();
/**
* 集群redis节点地址配置
*/
private List nodeAddresses = new ArrayList();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy