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.
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
-
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 instantinput- host profile input; the managed job host uses its pre-encoded immutable snapshotdeadline- original operation deadline- Returns:
- confirmed native submission, never inferred from a timeout
- Throws:
IOException- on unknown or unavailable submission
-