package com.whyc.properties;
|
|
public class RedisClusterProperties {
|
private Integer scanInterval;
|
|
private String nodes;
|
|
private String readMode;
|
|
private Integer retryAttempts;
|
|
private Integer failedAttempts;
|
|
private Integer slaveConnectionPoolSize;
|
|
private Integer masterConnectionPoolSize;
|
|
private Integer retryInterval;
|
|
public Integer getScanInterval() {
|
return scanInterval;
|
}
|
|
public void setScanInterval(Integer scanInterval) {
|
this.scanInterval = scanInterval;
|
}
|
|
public String getNodes() {
|
return nodes;
|
}
|
|
public void setNodes(String nodes) {
|
this.nodes = nodes;
|
}
|
|
public String getReadMode() {
|
return readMode;
|
}
|
|
public void setReadMode(String readMode) {
|
this.readMode = readMode;
|
}
|
|
public Integer getRetryAttempts() {
|
return retryAttempts;
|
}
|
|
public void setRetryAttempts(Integer retryAttempts) {
|
this.retryAttempts = retryAttempts;
|
}
|
|
public Integer getFailedAttempts() {
|
return failedAttempts;
|
}
|
|
public void setFailedAttempts(Integer failedAttempts) {
|
this.failedAttempts = failedAttempts;
|
}
|
|
public Integer getSlaveConnectionPoolSize() {
|
return slaveConnectionPoolSize;
|
}
|
|
public void setSlaveConnectionPoolSize(Integer slaveConnectionPoolSize) {
|
this.slaveConnectionPoolSize = slaveConnectionPoolSize;
|
}
|
|
public Integer getMasterConnectionPoolSize() {
|
return masterConnectionPoolSize;
|
}
|
|
public void setMasterConnectionPoolSize(Integer masterConnectionPoolSize) {
|
this.masterConnectionPoolSize = masterConnectionPoolSize;
|
}
|
|
public Integer getRetryInterval() {
|
return retryInterval;
|
}
|
|
public void setRetryInterval(Integer retryInterval) {
|
this.retryInterval = retryInterval;
|
}
|
}
|