org.mule.impl.work
Class NullWorkExecutorPool
java.lang.Object
org.mule.impl.work.NullWorkExecutorPool
- All Implemented Interfaces:
- WorkExecutorPool
- public class NullWorkExecutorPool
- extends Object
- implements WorkExecutorPool
- Version:
- $Rev: 3798 $ $Date: 2006-11-03 22:07:14 -0600 (Fri, 03 Nov 2006) $
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullWorkExecutorPool
public NullWorkExecutorPool(ThreadingProfile profile,
String name)
getPoolSize
public int getPoolSize()
- Description copied from interface:
WorkExecutorPool
- Gets the current number of active threads in the pool.
- Specified by:
getPoolSize in interface WorkExecutorPool
- Returns:
- Number of active threads in the pool.
getMaximumPoolSize
public int getMaximumPoolSize()
- Description copied from interface:
WorkExecutorPool
- Gets the maximum number of threads to simultaneously execute.
- Specified by:
getMaximumPoolSize in interface WorkExecutorPool
- Returns:
- Maximum size.
setMaximumPoolSize
public void setMaximumPoolSize(int maxSize)
- Description copied from interface:
WorkExecutorPool
- Sets the maximum number of threads to simultaneously execute.
- Specified by:
setMaximumPoolSize in interface WorkExecutorPool
- Parameters:
maxSize - Maximum size.
start
public WorkExecutorPool start()
- Specified by:
start in interface WorkExecutorPool
stop
public WorkExecutorPool stop()
- Specified by:
stop in interface WorkExecutorPool
execute
public void execute(Runnable command)
Copyright © 2003-2006 MuleSource Inc.. All Rights Reserved.