سؤال

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