org.mule.util
Class DisposableThreadPool
java.lang.Object
PooledExecutor
org.mule.util.DisposableThreadPool
- All Implemented Interfaces:
- Disposable
- public class DisposableThreadPool
- extends PooledExecutor
- implements Disposable
DisposableThreadPool
explicitly disposes all threads in
the pool that implement Disposable
Calling shutdownNow() will invoke the dispose method on this pool
- Version:
- $Revision: 1.3 $
- Author:
- Ross Mason
- See Also:
- Serialized Form
Method Summary |
void |
dispose()
A lifecycle method where implementor should fee up any resources
If an exception is thrown it should just be logged and processing should
continue. |
void |
shutdownNow()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DisposableThreadPool
public DisposableThreadPool()
DisposableThreadPool
public DisposableThreadPool(int i)
DisposableThreadPool
public DisposableThreadPool(Channel channel,
int i)
DisposableThreadPool
public DisposableThreadPool(java.lang.String name)
dispose
public void dispose()
- Description copied from interface:
Disposable
- A lifecycle method where implementor should fee up any resources
If an exception is thrown it should just be logged and processing should
continue. This method should not throw Runtime exceptions
- Specified by:
dispose
in interface Disposable
shutdownNow
public void shutdownNow()
Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.