/** * Sets the pool configuration for this factory. * * @param poolConfig the poolConfig to set. * @deprecated since 2.0, configure {@link JedisPoolConfig} using {@link JedisClientConfiguration}. * @throws IllegalStateException if {@link JedisClientConfiguration} is immutable. */ @Deprecated public void setPoolConfig(JedisPoolConfig poolConfig) { getMutableConfiguration().setPoolConfig(poolConfig); }
/** * Sets the pool configuration for this factory. * * @param poolConfig the poolConfig to set. * @deprecated since 2.0, configure {@link JedisPoolConfig} using {@link JedisClientConfiguration}. * @throws IllegalStateException if {@link JedisClientConfiguration} is immutable. */ @Deprecated public void setPoolConfig(JedisPoolConfig poolConfig) { getMutableConfiguration().setPoolConfig(poolConfig); }
/** * Sets the pool configuration for this factory. * * @param poolConfig the poolConfig to set. * @deprecated since 2.0, configure {@link JedisPoolConfig} using {@link JedisClientConfiguration}. * @throws IllegalStateException if {@link JedisClientConfiguration} is immutable. */ @Deprecated public void setPoolConfig(JedisPoolConfig poolConfig) { getMutableConfiguration().setPoolConfig(poolConfig); }
public static JedisClientConfiguration create(GenericObjectPoolConfig jedisPoolConfig) { MutableJedisClientConfiguration configuration = new MutableJedisClientConfiguration(); configuration.setPoolConfig(jedisPoolConfig); return configuration; }
public static JedisClientConfiguration create(GenericObjectPoolConfig jedisPoolConfig) { MutableJedisClientConfiguration configuration = new MutableJedisClientConfiguration(); configuration.setPoolConfig(jedisPoolConfig); return configuration; }
public static JedisClientConfiguration create(GenericObjectPoolConfig jedisPoolConfig) { MutableJedisClientConfiguration configuration = new MutableJedisClientConfiguration(); configuration.setPoolConfig(jedisPoolConfig); return configuration; }