Interface DurableSchedules.Submitter

Enclosing class:
DurableSchedules
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface DurableSchedules.Submitter
Trusted host-only submission bridge; must use a captured canonical input frame, stable request identity and original deadline. It must not run application constructors or business handlers.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.j7m.middleware.distributed.ExecutionResult
    submit(String occurrenceId, Object input, Instant deadline)
    Submits or replays the exact pending occurrence.
  • Method Details

    • submit

      org.j7m.middleware.distributed.ExecutionResult submit(String occurrenceId, Object input, Instant deadline) throws IOException
      Submits or replays the exact pending occurrence.
      Parameters:
      occurrenceId - stable identity of definition and planned UTC instant
      input - host profile input; the managed job host uses its pre-encoded immutable snapshot
      deadline - original operation deadline
      Returns:
      confirmed native submission, never inferred from a timeout
      Throws:
      IOException - on unknown or unavailable submission