类 FlinkJedisConfigBase
- java.lang.Object
-
- net.wicp.tams.common.flink.connector.redis.config.FlinkJedisConfigBase
-
- 所有已实现的接口:
Serializable
- 直接已知子类:
FlinkJedisPoolConfig
public abstract class FlinkJedisConfigBase extends Object implements Serializable
Base class for Flink Redis configuration.- 另请参阅:
- 序列化表格
-
-
字段概要
字段 修饰符和类型 字段 说明 protected intconnectionTimeoutprotected intmaxIdleprotected intmaxTotalprotected intminIdle
-
构造器概要
构造器 限定符 构造器 说明 protectedFlinkJedisConfigBase(int connectionTimeout, int maxTotal, int maxIdle, int minIdle)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intgetConnectionTimeout()Returns timeout.intgetMaxIdle()Get the value for themaxIdleconfiguration attribute for pools to be created with this configuration instance.intgetMaxTotal()Get the value for themaxTotalconfiguration attribute for pools to be created with this configuration instance.intgetMinIdle()Get the value for theminIdleconfiguration attribute for pools to be created with this configuration instance.
-
-
-
方法详细资料
-
getConnectionTimeout
public int getConnectionTimeout()
Returns timeout.- 返回:
- connection timeout
-
getMaxTotal
public int getMaxTotal()
Get the value for themaxTotalconfiguration attribute for pools to be created with this configuration instance.- 返回:
- The current setting of
maxTotalfor this configuration instance - 另请参阅:
GenericObjectPoolConfig.getMaxTotal()
-
getMaxIdle
public int getMaxIdle()
Get the value for themaxIdleconfiguration attribute for pools to be created with this configuration instance.- 返回:
- The current setting of
maxIdlefor this configuration instance - 另请参阅:
GenericObjectPoolConfig.getMaxIdle()
-
getMinIdle
public int getMinIdle()
Get the value for theminIdleconfiguration attribute for pools to be created with this configuration instance.- 返回:
- The current setting of
minIdlefor this configuration instance - 另请参阅:
GenericObjectPoolConfig.getMinIdle()
-
-