java.lang.Runnable
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 Runnable
s that change the name of the Thread they use.)Constructor | Description |
---|---|
NamePreservingRunnable(java.lang.Runnable runnable,
java.lang.String newName) |
Modifier and Type | Method | Description |
---|---|---|
void |
run() |