I have a doubt regarding using thread local variables.. consider the following code
My first question is I want thread local present in the same class where rest of the methods are also present(On browsing internet everybody is making it in separate class and making thread local object in it ).....i want it in the same class(is the usage correct??)
My top level is singleton ..do I have any issue because of it..Also if threadlocal is static will it have any issue