|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Context
A Contextual tracker of thread execution.
EntityContext
,
LockContext
,
MethodContext
Method Summary | |
---|---|
void |
add()
Adds to the context the current thread. |
void |
add(java.lang.Thread thread)
Adds to the context a thread. |
boolean |
has()
Calls has with the Thread.currentThread(). |
boolean |
has(java.lang.Thread t)
Returns true if the thread has previously been added to the context otherwise false. |
void |
remove()
Removes the current thread |
void |
remove(java.lang.Thread t)
Removes the thread from the context. |
Method Detail |
---|
void add(java.lang.Thread thread)
thread
- The thread that isvoid add()
add(Thread)
boolean has(java.lang.Thread t)
t
- The thread to look for
boolean has()
void remove(java.lang.Thread t)
t
- The thread to removevoid remove()
remove(Thread)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |