|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deduced.utilities.AbstractRunner
org.deduced.utilities.OnDemandRunner
public class OnDemandRunner

OnDemandRunner will execute runnable objects when the programmer allows it to.
| Field Summary | |
|---|---|
private java.util.List<java.lang.Runnable> |
runnableList
the last runnable that was asked to be run |
| Constructor Summary | |
|---|---|
OnDemandRunner()
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.Runnable> |
getRunnableList()
getRunnableList |
void |
run(java.lang.Runnable newRunnable)
(non-Javadoc) |
void |
runNow()
runNow will run all the runnable immediately in a blocking way. |
void |
runNowSilent()
runNowSilent will run the last runnable immediately in a blocking way and hide any exception that occurs while running. |
| Methods inherited from class org.deduced.utilities.AbstractRunner |
|---|
runSilent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.util.List<java.lang.Runnable> runnableList
| Constructor Detail |
|---|
public OnDemandRunner()
| Method Detail |
|---|
public java.util.List<java.lang.Runnable> getRunnableList()
public void runNow()
public void runNowSilent()
public void run(java.lang.Runnable newRunnable)
newRunnable - the runnable item to invokeRunner.run(java.lang.Runnable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||