简体   繁体   中英

How to test how method handles concurrent calls

I have a method and I want to test how it handles concurrent invocations.

Is there a Scala / Java library for this ?

I could use Scala's parallel collections and repeatedly call the method, is this an appropriate method ?

加里格雷戈里的这篇文章似乎可能正在解决你想做的事情。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM