Package com.ibm.wsspi.threading
Interface WSExecutorService
- All Superinterfaces:
Executor
,ExecutorService
An extension of ExecutorService with additional methods that provide
more control over how submitted and executed work is handled.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
executeGlobal
(Runnable command) Executes the given command at some time in the future.Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated, shutdown, shutdownNow, submit, submit, submit
-
Method Details
-
executeGlobal
Executes the given command at some time in the future. Although the command may execute in a new thread, in a pooled thread, or in the calling thread, there is no bias towards executing the command in the calling thread.- Parameters:
command
- the runnable task- Throws:
RejectedExecutionException
- if this task cannot be accepted for execution.NullPointerException
- if command is null
-