public class DefaultTaskExecutor extends Object implements TaskExecutor
| Constructor and Description |
|---|
DefaultTaskExecutor(String string,
int numberOfThreads) |
DefaultTaskExecutor(String name,
int numberOfThreads,
boolean mayDie) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
void |
execute(Runnable runnable) |
void |
registerDisposable(Disposable d)
the hooks registered by this method will be run when dispose is called.
|
public DefaultTaskExecutor(String name, int numberOfThreads, boolean mayDie)
public DefaultTaskExecutor(String string, int numberOfThreads)
public void dispose()
dispose in interface org.picocontainer.Disposablepublic void registerDisposable(Disposable d)
NotifyingDisposableregisterDisposable in interface NotifyingDisposableCopyright © 2015 JacORB. All rights reserved.