Package org.apache.mina.util
Class NamePreservingRunnable
- java.lang.Object
-
- org.apache.mina.util.NamePreservingRunnable
-
- All Implemented Interfaces:
java.lang.Runnable
public class NamePreservingRunnable extends java.lang.Object implements java.lang.Runnable
ARunnable
wrapper that preserves the name of the thread after the runnable is complete (forRunnable
s that change the name of the Thread they use.)
-
-
Constructor Summary
Constructors Constructor Description NamePreservingRunnable(java.lang.Runnable runnable, java.lang.String newName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-