Package org.apache.tomcat.util.threads
Class InlineExecutorService
- java.lang.Object
-
- java.util.concurrent.AbstractExecutorService
-
- org.apache.tomcat.util.threads.InlineExecutorService
-
- All Implemented Interfaces:
Executor,ExecutorService
public class InlineExecutorService extends AbstractExecutorService
-
-
Constructor Summary
Constructors Constructor Description InlineExecutorService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanawaitTermination(long timeout, TimeUnit unit)voidexecute(Runnable command)booleanisShutdown()booleanisTerminated()voidshutdown()List<Runnable>shutdownNow()-
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
-
-
-
-
Method Detail
-
shutdown
public void shutdown()
-
isShutdown
public boolean isShutdown()
-
isTerminated
public boolean isTerminated()
-
awaitTermination
public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException- Throws:
InterruptedException
-
execute
public void execute(Runnable command)
-
-