0
在Redis的Java客戶端,我發現這一點:如何存儲靜態字段?
To use it, init a pool:
JedisPool pool = new JedisPool(new JedisPoolConfig(), "localhost");
You can store the pool somewhere statically, it is thread-safe.
我只是想知道,春暖花開,我怎麼可以存儲靜態JedisPool。