Interface WSExecutorService

All Superinterfaces:
Executor, ExecutorService

public interface WSExecutorService extends ExecutorService
An extension of ExecutorService with additional methods that provide more control over how submitted and executed work is handled.
  • Method Details

    • executeGlobal

      void executeGlobal(Runnable command) throws 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:
      RejectedExecutionException - if this task cannot be accepted for execution.
      NullPointerException - if command is null