Package com.squareup.okhttp.internal
Class NamedRunnable
- java.lang.Object
-
- com.squareup.okhttp.internal.NamedRunnable
-
-
Constructor Summary
Constructors Constructor Description NamedRunnable(String format, Object... args)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidexecute()voidrun()Starts executing the active part of the class' code.
-
-
-
Field Detail
-
name
protected final String name
-
-
Method Detail
-
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()
-
-