public abstract class FlinkJedisConfigBase extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
protected int |
connectionTimeout |
protected int |
maxIdle |
protected int |
maxTotal |
protected int |
minIdle |
Modifier | Constructor and Description |
---|---|
protected |
FlinkJedisConfigBase(int connectionTimeout,
int maxTotal,
int maxIdle,
int minIdle) |
Modifier and Type | Method and Description |
---|---|
int |
getConnectionTimeout()
Returns timeout.
|
int |
getMaxIdle()
Get the value for the
maxIdle configuration attribute
for pools to be created with this configuration instance. |
int |
getMaxTotal()
Get the value for the
maxTotal configuration attribute
for pools to be created with this configuration instance. |
int |
getMinIdle()
Get the value for the
minIdle configuration attribute
for pools to be created with this configuration instance. |
protected final int maxTotal
protected final int maxIdle
protected final int minIdle
protected final int connectionTimeout
protected FlinkJedisConfigBase(int connectionTimeout, int maxTotal, int maxIdle, int minIdle)
public int getConnectionTimeout()
public int getMaxTotal()
maxTotal
configuration attribute
for pools to be created with this configuration instance.maxTotal
for this
configuration instanceGenericObjectPoolConfig.getMaxTotal()
public int getMaxIdle()
maxIdle
configuration attribute
for pools to be created with this configuration instance.maxIdle
for this
configuration instanceGenericObjectPoolConfig.getMaxIdle()
public int getMinIdle()
minIdle
configuration attribute
for pools to be created with this configuration instance.minIdle
for this
configuration instanceGenericObjectPoolConfig.getMinIdle()
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.