| Modifier and Type | Field and Description |
|---|---|
| private volatile boolean | |
| private static final AtomicInteger |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public final void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| private static String |
| ran | back to summary |
|---|---|
| private volatile boolean ran | |
| threadNumber | back to summary |
|---|---|
| private static final AtomicInteger threadNumber | |
| SafeThread | back to summary |
|---|---|
| public SafeThread(Runnable target) | |
| SafeThread | back to summary |
|---|---|
| public SafeThread(Runnable target, String name) | |
| SafeThread | back to summary |
|---|---|
| public SafeThread(ThreadGroup group, Runnable target, String name) | |
| run | back to summary |
|---|---|
| public final void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a | |
| threadName | back to summary |
|---|---|
| private static String threadName() | |