Package com.ibm.wsspi.threading
Interface WSExecutorService
-
- All Superinterfaces:
java.util.concurrent.Executor
,java.util.concurrent.ExecutorService
public interface WSExecutorService extends java.util.concurrent.ExecutorService
An extension of ExecutorService with additional methods that provide more control over how submitted and executed work is handled.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
executeGlobal(java.lang.Runnable command)
Executes the given command at some time in the future.
-
-
-
Method Detail
-
executeGlobal
void executeGlobal(java.lang.Runnable command) throws java.util.concurrent.RejectedExecutionException
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:
java.util.concurrent.RejectedExecutionException
- if this task cannot be accepted for execution.java.lang.NullPointerException
- if command is null
-
-