Interface BatchRequest
public interface BatchRequest
Used to accumulate multiple operations
-
Method Summary
Modifier and TypeMethodDescriptionvoidadd(Functions.Func<?> request) Executes zero argument request.<A1> voidadd(Functions.Func1<A1, ?> request, A1 arg1) Executes one argument request asynchronously.<A1,A2> void add(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> void add(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 Details
-
add
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
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
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
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
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, void addA3, A4, A5> (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, void addA3, A4, A5, A6> (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- fifth request function parameterarg6- sixth request function parameter
-
add
Executes zero argument request.- Parameters:
request- The only supported value is method reference to a proxy created throughWorkflowClient.newWorkflowStub(Class, WorkflowOptions).
-
add
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
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
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, void addA3, A4> (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, void addA3, A4, A5> (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- fifth request function parameter
-
add
<A1,A2, void addA3, A4, A5, A6> (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- fifth request function parameterarg6- sixth request function parameter
-