|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) @Documented @UseWith(value={COMPONENT,MIXIN,PAGE}) public @interface HeartbeatDeferred
Marks a component method as deferred until the end of the Heartbeat
. This
is only allowed on void methods that do not throw exceptions. The invocation is captured
and will execute at the end of the current Heartbeat.
This annotation should be used with care, since deferring the invocation can change its semantics. For example, the value stored in instance variables may change between the time the method is invoked and the time it eventually executes. Likewise, runtime exceptions thrown by the method can not be caught by the invoking method.
Annotated methods must return void, and not declare any checked exceptions.
HeartbeatDeferredWorker
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |