문제

I just studying redis. In my text-book, they use GenericObjectPool.Config class which supported in apache commons pool jar version 1.6. However, for now that class has disappeared. So I want to know is there any replacement of 'GenericObjectPool.Config'. in additionally, where can I find replacement of the field 'WHEN_EXHAUSTED_BLOCK'?

Thanks a lot in advanced:-)

도움이 되었습니까?

해결책

Now I am answering my own. in conclusion, jedis does not support latest version of apache commons pool. for instance, JedisPool class gets GenericObjectPool.Config instance as a parameter of constructor which is not supported anymore in version 2.1.0.

Anyway, I stil some questions about replacements of some disappears.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top