|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.concurrent.FutureTask<ValueT>
BeforeAfterFutureTask<ValueT>
ValueT
- the result type returned by get()
.public class BeforeAfterFutureTask<ValueT>
Returned by
BeforeAfterCaller.submit()
.
Method Summary | |
---|---|
Throwable |
getAfterThrowable()
Throwable that occured in after() . |
Throwable |
getBeforeThrowable()
Throwable that occured in before()
after BeforeAfterCallable.AllowCallToProceed.proceed() was called. |
BeforeAfterCallable<ValueT> |
getTask()
Returns the BeforeAfterCallable associated with this . |
Methods inherited from class java.util.concurrent.FutureTask |
---|
cancel, done, get, get, isCancelled, isDone, run, runAndReset, set, setException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public BeforeAfterCallable<ValueT> getTask()
BeforeAfterCallable
associated with this
.
public Throwable getBeforeThrowable()
before()
after BeforeAfterCallable.AllowCallToProceed.proceed()
was called.
It is a programming error if this is ever non-null
public Throwable getAfterThrowable()
after()
.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |