net.sf.mmm.util.concurrent.base
Class SimpleExecutor
java.lang.Object
net.sf.mmm.util.concurrent.base.SimpleExecutor
- All Implemented Interfaces:
- Executor
@Singleton
@Named
public class SimpleExecutor
- extends Object
- implements Executor
This is a very simple implementation of the Executor interface.
- Since:
- 1.0.0
- Author:
- Joerg Hohwiller (hohwille at users.sourceforge.net)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final SimpleExecutor INSTANCE
- This is the singleton instance of this
SimpleExecutor.
threadFactory
private final ThreadFactory threadFactory
- See Also:
execute(Runnable)
SimpleExecutor
public SimpleExecutor()
- The constructor.
SimpleExecutor
public SimpleExecutor(ThreadFactory factory)
- The constructor.
- Parameters:
factory - is the thread-factory to use.
execute
public void execute(Runnable command)
-
- Specified by:
execute in interface Executor
Copyright © 2001-2010 mmm-Team. All Rights Reserved.