public abstract class ThreadPoolFactory extends Object implements MuleContextAware
Modifier and Type | Field and Description |
---|---|
protected MuleContext |
muleContext |
Constructor and Description |
---|
ThreadPoolFactory() |
Modifier and Type | Method and Description |
---|---|
abstract ThreadPoolExecutor |
createPool(String name,
ThreadingProfile tp) |
abstract ScheduledThreadPoolExecutor |
createScheduledPool(String name,
ThreadingProfile tp) |
static ThreadPoolFactory |
newInstance() |
void |
setMuleContext(MuleContext context) |
protected MuleContext muleContext
public static ThreadPoolFactory newInstance()
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public abstract ThreadPoolExecutor createPool(String name, ThreadingProfile tp)
public abstract ScheduledThreadPoolExecutor createScheduledPool(String name, ThreadingProfile tp)
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.