mirror of https://github.com/dapr/java-sdk.git
Rename method
Signed-off-by: Mason <theforbiddenai@gmail.com>
This commit is contained in:
parent
dbe95c8bc4
commit
5e47afb03b
|
@ -44,15 +44,15 @@ public class WorkflowTaskRetryContext {
|
|||
}
|
||||
|
||||
/**
|
||||
* Gets the context of the current orchestration.
|
||||
* Gets the context of the current workflow.
|
||||
*
|
||||
* <p>The orchestration context can be used in retry handlers to schedule timers (via the
|
||||
* <p>The workflow context can be used in retry handlers to schedule timers (via the
|
||||
* {@link DefaultWorkflowContext#createTimer} methods) for implementing delays between retries. It can also be
|
||||
* used to implement time-based retry logic by using the {@link DefaultWorkflowContext#getCurrentInstant} method.
|
||||
*
|
||||
* @return the context of the parent orchestration
|
||||
* @return the context of the parent workflow
|
||||
*/
|
||||
public DefaultWorkflowContext getOrchestrationContext() {
|
||||
public DefaultWorkflowContext getWorkflowContext() {
|
||||
return this.workflowContext;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue