Package su.onno.process
Interface ProcessTimer<P>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Calculates when a durable timer node becomes eligible to continue.
-
Method Summary
Modifier and TypeMethodDescriptionstatic <P> ProcessTimer<P> Create a timer due after a fixed duration from the time the node is entered.static <P> ProcessTimer<P> Create a timer due at an absolute time derived from the process payload.Calculate an absolute due time from the payload and the runtime's current time.
-
Method Details
-
dueAt
Calculate an absolute due time from the payload and the runtime's current time. -
after
Create a timer due after a fixed duration from the time the node is entered. -
at
Create a timer due at an absolute time derived from the process payload.
-