org.jetlang.core
Class SynchronousExecutor

java.lang.Object
  extended by org.jetlang.core.SynchronousExecutor
All Implemented Interfaces:
java.util.concurrent.Executor

public class SynchronousExecutor
extends java.lang.Object
implements java.util.concurrent.Executor

Executor that runs tasks on the current thread.


Constructor Summary
SynchronousExecutor()
           
 
Method Summary
 void execute(java.lang.Runnable command)
           
 boolean isRunning()
           
 void setRunning(boolean _running)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SynchronousExecutor

public SynchronousExecutor()
Method Detail

isRunning

public boolean isRunning()

setRunning

public void setRunning(boolean _running)

execute

public void execute(java.lang.Runnable command)
Specified by:
execute in interface java.util.concurrent.Executor


Copyright © 2009. All Rights Reserved.