public class ThreadProperty extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
ThreadProperty.Detach |
| Constructor and Description |
|---|
ThreadProperty() |
| Modifier and Type | Method and Description |
|---|---|
ThreadProperty.Detach |
attach(Object data) |
ThreadProperty.Detach |
attach(Object data,
Thread toThread) |
int |
countThreads() |
Object |
getAttached() |
static Object |
getAttachedTo(ThreadProperty p)
Get attached data if the ThreadProperty is not null.
|
int |
size() |
public ThreadProperty.Detach attach(Object data)
public int size()
public ThreadProperty.Detach attach(Object data, Thread toThread)
public static Object getAttachedTo(ThreadProperty p)
p - a possibly null ThreadProperty.public Object getAttached()
public int countThreads()