阅读背景:

安排Callables的最佳方法是什么,可能会在投票情况下超时?

来源:互联网 

I have several Callables which query for some JMX Beans, so each one may time out. I want to poll for values lets say every second. The most naive approach would be to start each in a separate thread, but I want to minimize the number of threads. Which options do I have to do it in a better way?I have several Callables which query for some J




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: