|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.common.ThreadLocalUtil
public class ThreadLocalUtil
Utility class with base methods for thread control and grouping.
Constructor Summary | |
---|---|
ThreadLocalUtil()
|
Method Summary | |
---|---|
static Object |
getThreadLocalStorage(Object key)
retrieves an object from a hashmap associated with the current thread |
static Object |
getTLS(Object key)
|
static void |
putThreadLocalStorage(Object key,
Object value)
puts an object into a hashmap associated with the current thread |
static void |
putTLS(Object key,
Object value)
|
static void |
removeThreadLocalStorage(Object key)
removes an object from a hashmap associated with the current thread |
static void |
removeTLS(Object key)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadLocalUtil()
Method Detail |
---|
public static void putThreadLocalStorage(Object key, Object value)
public static void removeThreadLocalStorage(Object key)
public static Object getThreadLocalStorage(Object key)
public static void putTLS(Object key, Object value)
Note: this is for those who don't like to type
public static Object getTLS(Object key)
Note: this is for those who don't like to type
public static void removeTLS(Object key)
Note: this is for those who don't like to type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |