«
Prev
»
Next
Java / Java ThreadLocal
Good practice to follow while implementing ThreadLocal variables.
- ThreadLocal variables may be declared as private static field.
- ThreadLocal provides another way to implement thread safety however it is not recommended for implementing synchronization.
More Related questions...
Comments & Discussions