阅读背景:

在Windows上观察Java的网络使用级别

来源:互联网 

I'm currently looking for a way, how to get real-time data about network utilization from Java. I would like to see how several running threads (all downloading stuff from web) utilize network and simultaneously be able to set threshold for spawning new threads if some criteria are not met. Let's say I create 10 threads, all downloading some stuff from web, and network utilization would be on 5%, consider previously set threshold to max utilization of 10%, I would be allowed to spawn a new thread. Thing is, I'm not sure if there's a way how to get such network information. Any help is much appreciated.I'm currently looking for a way, how to get rea




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

分享到: