org.apache.tapestry5.annotations

## Annotation Type HeartbeatDeferred

-     @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.

  Since:
    5.2.0
  See Also:
    `HeartbeatDeferredWorker`

${project.version} - Copyright © 2003-2014 The Apache Software Foundation.