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
 void executeGlobal(java.lang.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
 
Methods inherited from interface java.util.concurrent.Executor
execute
 

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