com.atomikos.icatch.imp.thread
Class TrivialSystemExecutor
java.lang.Object
com.atomikos.icatch.imp.thread.TrivialSystemExecutor
public class TrivialSystemExecutor
- extends Object
This is an executor which creates a new thread for each
invocation. It uses the SystemThreadFactorySPI for the task.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TrivialSystemExecutor
public TrivialSystemExecutor()
execute
public void execute(Runnable targ)
- Parameters:
targ
- Task to execute, never null
shutdown
public void shutdown()
- Shutdown underlying thread pool.
Copyright © 2011. All Rights Reserved.