Package com.squareup.okhttp.internal
Class NamedRunnable
java.lang.Object
com.squareup.okhttp.internal.NamedRunnable
- All Implemented Interfaces:
Runnable
public abstract class NamedRunnable extends Object implements Runnable
Runnable implementation which always sets its thread name.
-
Constructor Summary
Constructors Constructor Description NamedRunnable(String format, Object... args) -
Method Summary
-
Constructor Details
-
NamedRunnable
-
-
Method Details
-
run
public final void run()Description copied from interface:RunnableStarts executing the active part of the class' code. This method is called when a thread is started that has been created with a class which implementsRunnable. -
execute
protected abstract void execute()
-