KillThunder
V2EX  ›  问与答

使用 Java 链接 redis,然后配置 config 的问题。

  •  
  •   KillThunder · Aug 9, 2017 · 2157 views
    This topic created in 3270 days ago, the information mentioned may be changed or developed.

    jedis 版本:2.9.0 代码: import redis.clients.jedis.JedisPoolConfig;

    JedisPoolConfig config = new JedisPoolConfig(); config.setMaxTotal(500); 但是 config.setMaxTotal(500);在 eclipse 一直报错:Add cast to 'config',应该是没这个方法,请大神指教这是什么原因?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1147 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:13 · PVG 07:13 · LAX 16:13 · JFK 19:13
    ♥ Do have faith in what you're doing.