com.atomikos.icatch.imp.thread
Class TrivialSystemExecutor

java.lang.Object
  extended by 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.


Constructor Summary
TrivialSystemExecutor()
           
 
Method Summary
 void execute(Runnable targ)
           
 void shutdown()
          Shutdown underlying thread pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrivialSystemExecutor

public TrivialSystemExecutor()
Method Detail

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.