@@ -62,6 +62,52 @@ public <TResult> Task<TResult> callEntity(
6262 return this .callEntity (entityId , operationName , null , returnType , null );
6363 }
6464
65+ /**
66+ * Calls an operation on an entity and waits for it to complete (no input, no return value).
67+ *
68+ * @param entityId the target entity
69+ * @param operationName the name of the operation
70+ * @return a task that completes when the operation completes
71+ */
72+ public Task <Void > callEntity (
73+ @ Nonnull EntityInstanceId entityId ,
74+ @ Nonnull String operationName ) {
75+ return this .callEntity (entityId , operationName , null , Void .class , null );
76+ }
77+
78+ /**
79+ * Calls an operation on an entity with options and waits for the result (no input).
80+ *
81+ * @param entityId the target entity
82+ * @param operationName the name of the operation
83+ * @param returnType the expected return type
84+ * @param options the call options, or {@code null}
85+ * @param <TResult> the result type
86+ * @return a task that completes with the operation result
87+ */
88+ public <TResult > Task <TResult > callEntity (
89+ @ Nonnull EntityInstanceId entityId ,
90+ @ Nonnull String operationName ,
91+ @ Nonnull Class <TResult > returnType ,
92+ @ Nullable CallEntityOptions options ) {
93+ return this .callEntity (entityId , operationName , null , returnType , options );
94+ }
95+
96+ /**
97+ * Calls an operation on an entity with options and waits for it to complete (no input, no return value).
98+ *
99+ * @param entityId the target entity
100+ * @param operationName the name of the operation
101+ * @param options the call options, or {@code null}
102+ * @return a task that completes when the operation completes
103+ */
104+ public Task <Void > callEntity (
105+ @ Nonnull EntityInstanceId entityId ,
106+ @ Nonnull String operationName ,
107+ @ Nullable CallEntityOptions options ) {
108+ return this .callEntity (entityId , operationName , null , Void .class , options );
109+ }
110+
65111 /**
66112 * Signals an entity operation without waiting for completion.
67113 *
@@ -100,6 +146,20 @@ public void signalEntity(
100146 this .signalEntity (entityId , operationName , input , null );
101147 }
102148
149+ /**
150+ * Signals an entity operation with options but no input.
151+ *
152+ * @param entityId the target entity
153+ * @param operationName the operation name
154+ * @param options signal options such as scheduled delivery time
155+ */
156+ public void signalEntity (
157+ @ Nonnull EntityInstanceId entityId ,
158+ @ Nonnull String operationName ,
159+ @ Nonnull SignalEntityOptions options ) {
160+ this .signalEntity (entityId , operationName , null , options );
161+ }
162+
103163 /**
104164 * Acquires one or more entity locks.
105165 *
0 commit comments