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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
awaitTermination
(long timeout, TimeUnit unit) void
boolean
boolean
void
shutdown()
Methods inherited from class java.util.concurrent.AbstractExecutorService
invokeAll, invokeAll, invokeAny, invokeAny, newTaskFor, newTaskFor, submit, submit, submit
-
Constructor Details
-
InlineExecutorService
public InlineExecutorService()
-
-
Method Details
-
shutdown
public void shutdown() -
shutdownNow
-
isShutdown
public boolean isShutdown() -
isTerminated
public boolean isTerminated() -
awaitTermination
- Throws:
InterruptedException
-
execute
-