diff --git a/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java b/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java index 104a77cfb..e4ead58ea 100644 --- a/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java +++ b/temporal-sdk/src/main/java/io/temporal/workflow/Workflow.java @@ -1271,7 +1271,7 @@ public static void applyLocalActivityOptions( * interruption of in-progress handlers by workflow return: * *
- * Workflow.await(() -> Workflow.isAllHandlersFinished());
+ * Workflow.await(() -> Workflow.isEveryHandlerFinished());
*
will eventually have search attributes as:
*
* @return true if all handlers are finished, false otherwise.
diff --git a/temporal-sdk/src/test/java/io/temporal/workflow/signalTests/SignalAllHandlersFinished.java b/temporal-sdk/src/test/java/io/temporal/workflow/signalTests/SignalAllHandlersFinished.java
index 59d4f823c..684d9fb9a 100644
--- a/temporal-sdk/src/test/java/io/temporal/workflow/signalTests/SignalAllHandlersFinished.java
+++ b/temporal-sdk/src/test/java/io/temporal/workflow/signalTests/SignalAllHandlersFinished.java
@@ -39,7 +39,7 @@ public class SignalAllHandlersFinished {
SDKTestWorkflowRule.newBuilder().setWorkflowTypes(TestSignalWorkflowImpl.class).build();
@Test
- public void isAllHandlersFinished() {
+ public void isEveryHandlerFinished() {
String workflowId = UUID.randomUUID().toString();
WorkflowClient workflowClient = testWorkflowRule.getWorkflowClient();
WorkflowOptions options =
diff --git a/temporal-sdk/src/test/java/io/temporal/workflow/updateTest/UpdateAllHandlersFinished.java b/temporal-sdk/src/test/java/io/temporal/workflow/updateTest/UpdateAllHandlersFinished.java
index e0c1fc2be..f8515d9ee 100644
--- a/temporal-sdk/src/test/java/io/temporal/workflow/updateTest/UpdateAllHandlersFinished.java
+++ b/temporal-sdk/src/test/java/io/temporal/workflow/updateTest/UpdateAllHandlersFinished.java
@@ -42,7 +42,7 @@ public class UpdateAllHandlersFinished {
SDKTestWorkflowRule.newBuilder().setWorkflowTypes(TestUpdateWorkflowImpl.class).build();
@Test
- public void isAllHandlersFinished() throws ExecutionException, InterruptedException {
+ public void isEveryHandlerFinished() throws ExecutionException, InterruptedException {
String workflowId = UUID.randomUUID().toString();
WorkflowClient workflowClient = testWorkflowRule.getWorkflowClient();
WorkflowOptions options =