V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
KillThunder
V2EX  ›  问与答

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

  •  
  •   KillThunder · Aug 9, 2017 · 2016 views
    This topic created in 3185 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   ·   1067 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 22:49 · PVG 06:49 · LAX 15:49 · JFK 18:49
    ♥ Do have faith in what you're doing.