Go Directly To
Oracle Technology Network Community
My Oracle Support Community
OPN Cloud Connection
Oracle Employee Community
Oracle User Group Community
OTN Speaker Bureau
Get Started Guide
Join the world’s largest interactive community dedicated to Oracle technologies.
Learn from thousands of community experts
Get answers to your technical questions
Share your knowledge with peers
Please enter a title.
You can not post a blank message. Please type your message and try again.
Oracle Community (OTN)
Other Topics [ARCHIVE]
This discussion is archived
on Aug 11, 2011 11:22 PM by EJP
How to make a class ' thread safe ' ?
Aug 11, 2011 12:41 PM
Hello all ,
May I know how to make a class 'thread safe ' ??? and is there any difference between a ' thread safe class ' and ' synchronized class ' ???
I have the same question
Show 0 Likes
This content has been marked as final.
Show 1 reply
Re: How to make a class ' thread safe ' ?
Aug 11, 2011 11:22 PM
in response to
You can't make a class thread safe. You can only make its
thread safe, and
of its methods. Consider an Iterator for example. Only its user can provide the required thread safety.