Package org.jboss.as.threads
Interface ManagedExecutorService
- All Superinterfaces:
Executor,ExecutorService
- All Known Subinterfaces:
ManagedJBossThreadPoolExecutorService,ManagedQueueExecutorService,ManagedQueuelessExecutorService
- All Known Implementing Classes:
ManagedScheduledExecutorService
Specialization of
ExecutorService that disables
caller attempts to shut invoke shutdown methods.- Author:
- Alexey Loubyansky
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidshutdown()Does nothing.Does nothing other than return an empty list.Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, submit, submit, submit
-
Method Details
-
shutdown
default void shutdown()Does nothing.- Specified by:
shutdownin interfaceExecutorService
-
shutdownNow
Does nothing other than return an empty list.- Specified by:
shutdownNowin interfaceExecutorService- Returns:
- an empty list
-