- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
RealCall.AsyncCall
public abstract class NamedRunnable
extends Object
implements Runnable
可运行的实现,它总是设置它的线程名
- Since:
- Java 17+
- Author:
- Kimi Liu
-
-
Constructor Summary
Constructors
-
Method Summary
protected abstract void
final void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
Method Details
-
run
public final void run()
- Specified by:
run in interface Runnable
-
execute
protected abstract void execute()