Skip to content

Commit

Permalink
add more docs
Browse files Browse the repository at this point in the history
  • Loading branch information
kaibocai committed Jan 18, 2024
1 parent fb859c5 commit fd63648
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,14 @@ private void addTargetStatus(OrchestrationRuntimeStatus status) {
* You can customize the orchestration ID reuse policy by setting the {@code targetStatuses}
* and {@code instanceIdReuseAction}.
*
* <ul>
* <li>{@code InstanceIdReuseAction.ERROR}: Throws an error if an orchestration with the same instance ID already exists.</li>
* <li>{@code InstanceIdReuseAction.IGNORE}: Returns directly if an orchestration with the same instance ID already exists
* and is in the specified target statuses.</li>
* <li>{@code InstanceIdReuseAction.Terminate}: Terminates the existing orchestration instance with the same instance ID
* if it is in the specified target statuses, and creates a new instance with the same instance ID.</li>
* </ul>
*
* <p>
* For example, the following options will terminate an existing orchestration instance with the same instance ID
* if it's in RUNNING, FAILED, or COMPLETED runtime status:
Expand Down

0 comments on commit fd63648

Please sign in to comment.