org.apache.blur.concurrent
Class Executors

java.lang.Object
  extended by org.apache.blur.concurrent.Executors

public class Executors
extends Object


Nested Class Summary
static class Executors.BlurThreadFactory
           
 
Method Summary
static java.util.concurrent.ExecutorService newSingleThreadExecutor(String prefix)
           
static java.util.concurrent.ExecutorService newThreadPool(java.util.concurrent.BlockingQueue<Runnable> workQueue, String prefix, int threadCount)
           
static java.util.concurrent.ExecutorService newThreadPool(java.util.concurrent.BlockingQueue<Runnable> workQueue, String prefix, int threadCount, boolean watch)
           
static java.util.concurrent.ExecutorService newThreadPool(String prefix, int threadCount)
           
static java.util.concurrent.ExecutorService newThreadPool(String prefix, int threadCount, boolean watch)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newThreadPool

public static java.util.concurrent.ExecutorService newThreadPool(String prefix,
                                                                 int threadCount)

newThreadPool

public static java.util.concurrent.ExecutorService newThreadPool(String prefix,
                                                                 int threadCount,
                                                                 boolean watch)

newThreadPool

public static java.util.concurrent.ExecutorService newThreadPool(java.util.concurrent.BlockingQueue<Runnable> workQueue,
                                                                 String prefix,
                                                                 int threadCount)

newThreadPool

public static java.util.concurrent.ExecutorService newThreadPool(java.util.concurrent.BlockingQueue<Runnable> workQueue,
                                                                 String prefix,
                                                                 int threadCount,
                                                                 boolean watch)

newSingleThreadExecutor

public static java.util.concurrent.ExecutorService newSingleThreadExecutor(String prefix)


Copyright © 2012-2014 The Apache Software Foundation. All Rights Reserved.