org.mule.impl.work
Class NullWorkExecutorPool
java.lang.Object
org.mule.impl.work.NullWorkExecutorPool
- All Implemented Interfaces:
- WorkExecutorPool
- public class NullWorkExecutorPool
- extends java.lang.Object
- implements WorkExecutorPool
- Version:
- $Rev$ $Date: 2005/04/05 06:03:20 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullWorkExecutorPool
public NullWorkExecutorPool(ThreadingProfile profile,
java.lang.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(java.lang.Runnable command)
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.