org.apache.openejb.util
Class ExecutorBuilder

java.lang.Object
  extended by org.apache.openejb.util.ExecutorBuilder

public class ExecutorBuilder
extends Object

Version:
$Rev$ $Date$

Nested Class Summary
static class ExecutorBuilder.QueueType
           
 
Constructor Summary
ExecutorBuilder()
           
 
Method Summary
 ThreadPoolExecutor build(Options options)
           
 ExecutorBuilder prefix(String prefix)
           
 ExecutorBuilder rejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)
           
 ExecutorBuilder size(int size)
           
 ExecutorBuilder threadFactory(ThreadFactory threadFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecutorBuilder

public ExecutorBuilder()
Method Detail

size

public ExecutorBuilder size(int size)

prefix

public ExecutorBuilder prefix(String prefix)

threadFactory

public ExecutorBuilder threadFactory(ThreadFactory threadFactory)

rejectedExecutionHandler

public ExecutorBuilder rejectedExecutionHandler(RejectedExecutionHandler rejectedExecutionHandler)

build

public ThreadPoolExecutor build(Options options)


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.