|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectspin.Evaluator
spin.over.SpinOverEvaluator
public class SpinOverEvaluator
An evaluator for spin-over, i.e. all invocations are evaluated on the EDT.
| Constructor Summary | |
|---|---|
SpinOverEvaluator()
Create an evaluator for spin-over using the default wait setting. |
|
SpinOverEvaluator(boolean wait)
Create an evaluator for spin-over. |
|
| Method Summary | |
|---|---|
void |
evaluate(Invocation invocation)
Spin the given invocation on the EDT. |
static boolean |
getDefaultWait()
Should evaluations wait for the invocations. |
protected void |
onInvokeLaterNonVoidReturnType(Invocation invocation)
Hook method to handle a non-void return type of a invoked method. |
static void |
setDefaultWait(boolean wait)
Should evaluations wait for the invocations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SpinOverEvaluator()
setDefaultWait(boolean)public SpinOverEvaluator(boolean wait)
wait - should the invocation wait for the evaluation to complete| Method Detail |
|---|
public final void evaluate(Invocation invocation)
throws java.lang.Throwable
evaluate in class Evaluatorinvocation - invocation to spin-over
java.lang.Throwableprotected void onInvokeLaterNonVoidReturnType(Invocation invocation)
invocation - the invocation
java.lang.IllegalArgumentExceptionpublic static boolean getDefaultWait()
true if waitpublic static void setDefaultWait(boolean wait)
wait - true if wait
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||