类 FlinkJedisConfigBase

    • 字段详细资料

      • maxTotal

        protected final int maxTotal
      • maxIdle

        protected final int maxIdle
      • minIdle

        protected final int minIdle
      • connectionTimeout

        protected final int connectionTimeout
    • 构造器详细资料

      • FlinkJedisConfigBase

        protected FlinkJedisConfigBase​(int connectionTimeout,
                                       int maxTotal,
                                       int maxIdle,
                                       int minIdle)
    • 方法详细资料

      • getConnectionTimeout

        public int getConnectionTimeout()
        Returns timeout.
        返回:
        connection timeout
      • getMaxTotal

        public int getMaxTotal()
        Get the value for the maxTotal configuration attribute for pools to be created with this configuration instance.
        返回:
        The current setting of maxTotal for this configuration instance
        另请参阅:
        GenericObjectPoolConfig.getMaxTotal()
      • getMaxIdle

        public int getMaxIdle()
        Get the value for the maxIdle configuration attribute for pools to be created with this configuration instance.
        返回:
        The current setting of maxIdle for this configuration instance
        另请参阅:
        GenericObjectPoolConfig.getMaxIdle()
      • getMinIdle

        public int getMinIdle()
        Get the value for the minIdle configuration attribute for pools to be created with this configuration instance.
        返回:
        The current setting of minIdle for this configuration instance
        另请参阅:
        GenericObjectPoolConfig.getMinIdle()