Package org.eclipse.jetty.util.thread
Class TryExecutor.NoTryExecutor
java.lang.Object
org.eclipse.jetty.util.thread.TryExecutor.NoTryExecutor
- All Implemented Interfaces:
Executor
,TryExecutor
- Enclosing interface:
- TryExecutor
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.jetty.util.thread.TryExecutor
TryExecutor.NoTryExecutor
-
Field Summary
Fields inherited from interface org.eclipse.jetty.util.thread.TryExecutor
NO_TRY
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
NoTryExecutor
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceExecutor
- Specified by:
execute
in interfaceTryExecutor
-
tryExecute
Description copied from interface:TryExecutor
Attempt to execute a task.- Specified by:
tryExecute
in interfaceTryExecutor
- Parameters:
task
- The task to be executed- Returns:
- True IFF the task has been given directly to a thread to execute. The task cannot be queued pending the later availability of a Thread.
-
toString
-