What's in your tech stack? Tell us about it in our annual Community Survey, and help shape the future of DZone!
Learn how to build your data architecture with open-source tools + design patterns for scalability, disaster recovery, monitoring, and more.
Stats
Reputation: | 609 |
Pageviews: | 45.9K |
Articles: | 2 |
Comments: | 1 |
Core Java Concurrency
Comments
Sep 05, 2017 · Igor Sorokin
Yep, you are right. Methods like 'incrementAndGet' are absent in LongAdder class, because there is no way to get an atomic snapshot of the current value, so it is not meant to be used like that.