Class RedisConfig
java.lang.Object
org.summerboot.jexpress.integration.cache.RedisConfig
- All Implemented Interfaces:
JExpressConfig
- Author:
- Changski Tie Zheng Zhang 张铁铮, 魏泽北, 杜旺财, 杜富贵
-
Field Details
-
CFG
-
-
Constructor Details
-
RedisConfig
public RedisConfig()
-
-
Method Details
-
getCfgFile
- Specified by:
getCfgFilein interfaceJExpressConfig
-
name
- Specified by:
namein interfaceJExpressConfig
-
info
- Specified by:
infoin interfaceJExpressConfig
-
temp
- Specified by:
tempin interfaceJExpressConfig- Returns:
- null - disable reload
-
load
- Specified by:
loadin interfaceJExpressConfig- Throws:
Exception
-
shutdown
public void shutdown()- Specified by:
shutdownin interfaceJExpressConfig
-
autoFailover
-
getMaster
public redis.clients.jedis.Jedis getMaster() -
getNodes
-
getReconnectRetryIntervalMinutes
public int getReconnectRetryIntervalMinutes() -
getSendAlertIntervalMinutes
public int getSendAlertIntervalMinutes()
-