JBoss Threads 2.0.0.GA

Uses of Interface
org.jboss.threads.BlockingExecutor

Packages that use BlockingExecutor
org.jboss.threads   
 

Uses of BlockingExecutor in org.jboss.threads
 

Subinterfaces of BlockingExecutor in org.jboss.threads
 interface BlockingExecutorService
          A blocking executor service.
 

Classes in org.jboss.threads that implement BlockingExecutor
 class JBossThreadPoolExecutor
           
 class OrderedExecutor
          An executor that always runs all tasks in queue order, using a delegate executor to run the tasks.
 class QueueExecutor
          An executor which uses a regular queue to hold tasks.
 class QueuelessExecutor
          A queueless thread pool.
 

Methods in org.jboss.threads that return BlockingExecutor
static BlockingExecutor JBossExecutors.blockingDirectExecutor()
          Get an executor which executes tasks in the current thread, which implements BlockingExecutor.
static BlockingExecutor JBossExecutors.blockingDiscardingExecutor()
          Get an executor which discards all tasks, which implements BlockingExecutor.
static BlockingExecutor JBossExecutors.blockingRejectingExecutor()
          Get an executor which rejects all tasks, which implements BlockingExecutor.
static BlockingExecutor JBossExecutors.directBlockingExecutor(DirectExecutor delegate)
          An executor which delegates to the given direct executor, but implements the blocking executor interface.
static BlockingExecutor JBossExecutors.protectedBlockingExecutor(BlockingExecutor target)
           
static BlockingExecutor JBossExecutors.threadFactoryExecutor(ThreadFactory factory)
          Create an executor that executes each task in a new thread.
static BlockingExecutor JBossExecutors.threadFactoryExecutor(ThreadFactory factory, int maxThreads)
          Create an executor that executes each task in a new thread.
static BlockingExecutor JBossExecutors.threadFactoryExecutor(ThreadFactory factory, int maxThreads, boolean blocking)
          Create an executor that executes each task in a new thread.
static BlockingExecutor JBossExecutors.threadFactoryExecutor(ThreadFactory factory, int maxThreads, boolean blocking, DirectExecutor taskExecutor)
          Create an executor that executes each task in a new thread.
 

Methods in org.jboss.threads with parameters of type BlockingExecutor
static BlockingExecutor JBossExecutors.protectedBlockingExecutor(BlockingExecutor target)
           
static BlockingExecutorService JBossExecutors.protectedBlockingExecutorService(BlockingExecutor target)
          Wrap a blocking executor with an BlockingExecutorService instance which supports all the features of BlockingExecutorService except for shutting down the executor.
 


JBoss Threads 2.0.0.GA

Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.