Annotation Interface DurableJob


@Documented @Retention(RUNTIME) @Target(METHOD) public @interface DurableJob
Declares one finite POJO durable job entry for an explicitly installed trusted host backend. Claim, restore, checkpoint and completion use native ownership fences. This annotation does not make arbitrary external I/O exactly once and does not install a scheduler or grant authority. The managed profile requires one activation-scoped job entry per mutable component.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Returns the stable logical job definition identity.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Selects an explicitly installed host job profile.
    int
    Returns the current job/checkpoint contract version.
  • Element Details

    • value

      String value
      Returns the stable logical job definition identity.
      Returns:
      nonempty host-validated identity
    • policy

      String policy
      Selects an explicitly installed host job profile.
      Returns:
      finite profile identity
      Default:
      "default"
    • version

      int version
      Returns the current job/checkpoint contract version.
      Returns:
      positive version independent of deployment instance
      Default:
      1