public class NamePreservingRunnable
extends java.lang.Object
implements java.lang.Runnable
Runnable wrapper that preserves the name of the thread after the runnable is
complete (for Runnables that change the name of the Thread they use.)| Constructor and Description |
|---|
NamePreservingRunnable(java.lang.Runnable runnable,
java.lang.String newName) |
| Modifier and Type | Method and Description |
|---|---|
void |
run() |