com.ibm.wsspi.threading

Interface WSExecutorService

All Superinterfaces:
java.util.concurrent.Executor, java.util.concurrent.ExecutorService

  1. public interface WSExecutorService
  2. 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

Modifier and Type Method and Description
  1. 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

  1. void executeGlobal(java.lang.Runnable command)
  2. 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