How to set up thread-local accumulators for Java parallel streams that are visible to the main thread

后端 未结 0 1457
[愿得一人]
[愿得一人] 2021-01-30 01:54

How do I set up some thread-local storage for each worker thread in the default (common) fork-join pool, and how do I access that TLS from the main thread?

I need to impl

相关标签:
回答
  • 消灭零回复
提交回复
热议问题