View on GitHub

Bearded-android-docs

ThreadLocal

Download this project as a .zip file Download this project as a tar.gz file

Created Sunday 08 September 2013

ThreadLocal in Java is a different way to achieve thread-safety, it doesn't address synchronization requirement, instead it eliminates sharing by providing explicitly copy of Object to each thread. Since Object is no more shared there is no requirement of Synchronization which can improve scalability and performance of application.

Read more: http://javarevisited.blogspot.com/2012/05/how-to-use-threadlocal-in-java-benefits.html#ixzz2eMFkhP6B


No backlinks to this page.
comments powered by Disqus