Package io.temporal.client
Interface BatchRequest
-
public interface BatchRequestUsed to accumulate multiple operations
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(Functions.Func<?> request)Executes zero argument request.<A1> voidadd(Functions.Func1<A1,?> request, A1 arg1)Executes one argument request asynchronously.<A1,A2>
voidadd(Functions.Func2<A1,A2,?> request, A1 arg1, A2 arg2)Executes two argument request asynchronously.<A1,A2,A3>
voidadd(Functions.Func3<A1,A2,A3,?> request, A1 arg1, A2 arg2, A3 arg3)Executes three argument request asynchronously.<A1,A2,A3,A4>
voidadd(Functions.Func4<A1,A2,A3,A4,?> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4)Executes four argument request asynchronously.<A1,A2,A3,A4,A5>
voidadd(Functions.Func5<A1,A2,A3,A4,A5,?> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5)Executes five argument request asynchronously.<A1,A2,A3,A4,A5,A6>
voidadd(Functions.Func6<A1,A2,A3,A4,A5,A6,?> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5, A6 arg6)Executes six argument request asynchronously.voidadd(Functions.Proc request)Executes zero argument request with void return type<A1> voidadd(Functions.Proc1<A1> request, A1 arg1)Executes one argument request with void return type<A1,A2>
voidadd(Functions.Proc2<A1,A2> request, A1 arg1, A2 arg2)Executes two argument request with void return type<A1,A2,A3>
voidadd(Functions.Proc3<A1,A2,A3> request, A1 arg1, A2 arg2, A3 arg3)Executes three argument request with void return type<A1,A2,A3,A4>
voidadd(Functions.Proc4<A1,A2,A3,A4> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4)Executes four argument request with void return type<A1,A2,A3,A4,A5>
voidadd(Functions.Proc5<A1,A2,A3,A4,A5> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5)Executes five argument request with void return type<A1,A2,A3,A4,A5,A6>
voidadd(Functions.Proc6<A1,A2,A3,A4,A5,A6> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5, A6 arg6)Executes six argument request with void return type
-
-
-
Method Detail
-
add
void add(Functions.Proc request)
Executes zero argument request with void return type- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).
-
add
<A1> void add(Functions.Proc1<A1> request, A1 arg1)
Executes one argument request with void return type- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameter
-
add
<A1,A2> void add(Functions.Proc2<A1,A2> request, A1 arg1, A2 arg2)
Executes two argument request with void return type- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameter
-
add
<A1,A2,A3> void add(Functions.Proc3<A1,A2,A3> request, A1 arg1, A2 arg2, A3 arg3)
Executes three argument request with void return type- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameterarg3- third request function parameter
-
add
<A1,A2,A3,A4> void add(Functions.Proc4<A1,A2,A3,A4> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4)
Executes four argument request with void return type- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameterarg3- third request function parameterarg4- fourth request function parameter
-
add
<A1,A2,A3,A4,A5> void add(Functions.Proc5<A1,A2,A3,A4,A5> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5)
Executes five argument request with void return type- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameterarg3- third request function parameterarg4- fourth request function parameterarg5- fifth request function parameter
-
add
<A1,A2,A3,A4,A5,A6> void add(Functions.Proc6<A1,A2,A3,A4,A5,A6> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5, A6 arg6)
Executes six argument request with void return type- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameterarg3- third request function parameterarg4- fourth request function parameterarg5- sixth request function parameterarg6- sixth request function parameter
-
add
void add(Functions.Func<?> request)
Executes zero argument request.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).
-
add
<A1> void add(Functions.Func1<A1,?> request, A1 arg1)
Executes one argument request asynchronously.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request argument
-
add
<A1,A2> void add(Functions.Func2<A1,A2,?> request, A1 arg1, A2 arg2)
Executes two argument request asynchronously.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameter
-
add
<A1,A2,A3> void add(Functions.Func3<A1,A2,A3,?> request, A1 arg1, A2 arg2, A3 arg3)
Executes three argument request asynchronously.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameterarg3- third request function parameter
-
add
<A1,A2,A3,A4> void add(Functions.Func4<A1,A2,A3,A4,?> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4)
Executes four argument request asynchronously.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameterarg3- third request function parameterarg4- fourth request function parameter
-
add
<A1,A2,A3,A4,A5> void add(Functions.Func5<A1,A2,A3,A4,A5,?> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5)
Executes five argument request asynchronously.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request function parameterarg2- second request function parameterarg3- third request function parameterarg4- fourth request function parameterarg5- sixth request function parameter
-
add
<A1,A2,A3,A4,A5,A6> void add(Functions.Func6<A1,A2,A3,A4,A5,A6,?> request, A1 arg1, A2 arg2, A3 arg3, A4 arg4, A5 arg5, A6 arg6)
Executes six argument request asynchronously.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).arg1- first request argumentarg2- second request function parameterarg3- third request function parameterarg4- fourth request function parameterarg5- sixth request function parameterarg6- sixth request function parameter
-
-