|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cassandra.concurrent.ThreadLocalContext
public class ThreadLocalContext
Use this implementation over Java's ThreadLocal or InheritableThreadLocal when you need to add multiple key/value pairs into ThreadLocalContext for a given thread.
Constructor Summary | |
---|---|
ThreadLocalContext()
|
Method Summary | |
---|---|
static Context |
get()
|
static void |
put(Context value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThreadLocalContext()
Method Detail |
---|
public static void put(Context value)
public static Context get()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |