Package org.eclipse.jetty.util.thread
Class Invocable.ReadyTask
- java.lang.Object
-
- org.eclipse.jetty.util.thread.Invocable.ReadyTask
-
- All Implemented Interfaces:
java.lang.Runnable
,Invocable
,Invocable.Task
- Enclosing interface:
- Invocable
public static class Invocable.ReadyTask extends java.lang.Object implements Invocable.Task
A
Runnable
decorated with anInvocable.InvocationType
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.Invocable
Invocable.InvocationType, Invocable.ReadyTask, Invocable.Task
-
-
Field Summary
-
Fields inherited from interface org.eclipse.jetty.util.thread.Invocable
__nonBlocking
-
-
Constructor Summary
Constructors Constructor Description ReadyTask(Invocable.InvocationType type, java.lang.Runnable task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Invocable.InvocationType
getInvocationType()
void
run()
java.lang.String
toString()
-
-
-
Constructor Detail
-
ReadyTask
public ReadyTask(Invocable.InvocationType type, java.lang.Runnable task)
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
getInvocationType
public Invocable.InvocationType getInvocationType()
- Specified by:
getInvocationType
in interfaceInvocable
- Returns:
- The InvocationType of this object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-