Package org.apache.nifi.redis.util
Class RedisConfig
java.lang.Object
org.apache.nifi.redis.util.RedisConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate intprivate final Stringprivate intprivate Durationprivate Durationprivate intprivate Stringprivate intprivate intprivate intprivate final RedisTypeprivate Stringprivate Stringprivate Stringprivate booleanprivate booleanprivate booleanprivate booleanprivate Durationprivate intprivate String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintintintintbooleanbooleanbooleanbooleanintvoidsetBlockWhenExhausted(boolean blockWhenExhausted) voidsetClusterMaxRedirects(int clusterMaxRedirects) voidsetDbIndex(int dbIndex) voidsetMaxWaitTime(Duration maxWaitTime) voidsetMinEvictableIdleTime(Duration minEvictableIdleTime) voidsetNumTestsPerEvictionRun(int numTestsPerEvictionRun) voidsetPassword(String password) voidsetPoolMaxIdle(int poolMaxIdle) voidsetPoolMaxTotal(int poolMaxTotal) voidsetPoolMinIdle(int poolMinIdle) voidsetSentinelMaster(String sentinelMaster) voidsetSentinelPassword(String sentinelPassword) voidsetSentinelUsername(String sentinelUsername) voidsetTestOnBorrow(boolean testOnBorrow) voidsetTestOnCreate(boolean testOnCreate) voidsetTestOnReturn(boolean testOnReturn) voidsetTestWhenIdle(boolean testWhenIdle) voidsetTimeBetweenEvictionRuns(Duration timeBetweenEvictionRuns) voidsetTimeout(int timeout) voidsetUsername(String username)
-
Field Details
-
redisMode
-
connectionString
-
sentinelMaster
-
sentinelUsername
-
sentinelPassword
-
username
-
password
-
dbIndex
private int dbIndex -
timeout
private int timeout -
clusterMaxRedirects
private int clusterMaxRedirects -
poolMaxTotal
private int poolMaxTotal -
poolMaxIdle
private int poolMaxIdle -
poolMinIdle
private int poolMinIdle -
blockWhenExhausted
private boolean blockWhenExhausted -
maxWaitTime
-
minEvictableIdleTime
-
timeBetweenEvictionRuns
-
numTestsPerEvictionRun
private int numTestsPerEvictionRun -
testOnCreate
private boolean testOnCreate -
testOnBorrow
private boolean testOnBorrow -
testOnReturn
private boolean testOnReturn -
testWhenIdle
private boolean testWhenIdle
-
-
Constructor Details
-
RedisConfig
-
-
Method Details
-
getRedisMode
-
getConnectionString
-
getSentinelMaster
-
setSentinelMaster
-
getSentinelUsername
-
setSentinelUsername
-
getSentinelPassword
-
setSentinelPassword
-
getDbIndex
public int getDbIndex() -
setDbIndex
public void setDbIndex(int dbIndex) -
getUsername
-
setUsername
-
getPassword
-
setPassword
-
getTimeout
public int getTimeout() -
setTimeout
public void setTimeout(int timeout) -
getClusterMaxRedirects
public int getClusterMaxRedirects() -
setClusterMaxRedirects
public void setClusterMaxRedirects(int clusterMaxRedirects) -
getPoolMaxTotal
public int getPoolMaxTotal() -
setPoolMaxTotal
public void setPoolMaxTotal(int poolMaxTotal) -
getPoolMaxIdle
public int getPoolMaxIdle() -
setPoolMaxIdle
public void setPoolMaxIdle(int poolMaxIdle) -
getPoolMinIdle
public int getPoolMinIdle() -
setPoolMinIdle
public void setPoolMinIdle(int poolMinIdle) -
getBlockWhenExhausted
public boolean getBlockWhenExhausted() -
setBlockWhenExhausted
public void setBlockWhenExhausted(boolean blockWhenExhausted) -
getMaxWaitTime
-
setMaxWaitTime
-
getMinEvictableIdleTime
-
setMinEvictableIdleTime
-
getTimeBetweenEvictionRuns
-
setTimeBetweenEvictionRuns
-
getNumTestsPerEvictionRun
public int getNumTestsPerEvictionRun() -
setNumTestsPerEvictionRun
public void setNumTestsPerEvictionRun(int numTestsPerEvictionRun) -
getTestOnCreate
public boolean getTestOnCreate() -
setTestOnCreate
public void setTestOnCreate(boolean testOnCreate) -
getTestOnBorrow
public boolean getTestOnBorrow() -
setTestOnBorrow
public void setTestOnBorrow(boolean testOnBorrow) -
getTestOnReturn
public boolean getTestOnReturn() -
setTestOnReturn
public void setTestOnReturn(boolean testOnReturn) -
getTestWhenIdle
public boolean getTestWhenIdle() -
setTestWhenIdle
public void setTestWhenIdle(boolean testWhenIdle)
-