All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.structure.starter.redisson.properties.SentinelProperties Maven / Gradle / Ivy

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.List;

/**
 * 

* 哨兵模式 *

* * @author chuck * @version 1.0.1 * @since 2020-12-23 */ @Getter @Setter @ToString public class SentinelProperties extends MultipleServerProperties { /** * 哨兵模式的地址 */ private List sentinelAddresses = new ArrayList(); /** * 哨兵模式的名字 */ private String masterName; /** * 节点变化扫描间隔时间 */ private int scanInterval = 1000; }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy