Package com.smeup.kokos.sdk.caller
Class MicroExecutorServiceCaller
java.lang.Object
com.smeup.kokos.sdk.caller.MicroExecutorServiceCaller
- Direct Known Subclasses:
MicroExecutorBatchServiceCaller
- Author:
- mattia.bonardi
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddispatch(String handler, Fun fun, ExecutionContext context, OutputStream out) voiddispatch(String handler, Fun fun, ExecutionContext context, OutputStream out, Boolean coreResponse) Dispatch the fun execution to another micro executor
-
Field Details
-
path
-
-
Constructor Details
-
MicroExecutorServiceCaller
public MicroExecutorServiceCaller()
-
-
Method Details
-
dispatch
public void dispatch(String handler, Fun fun, ExecutionContext context, OutputStream out, Boolean coreResponse) throws MicroExecutorServiceCallerException, MicroExecutorServiceCallerUnhandledException Dispatch the fun execution to another micro executor- Parameters:
fun- the fun to executecontext- the execution contextout- stream- Throws:
MicroExecutorServiceCallerException- MicroExecutorServiceCallerUnhandledExceptionMicroExecutorServiceCallerUnhandledException
-
dispatch
public void dispatch(String handler, Fun fun, ExecutionContext context, OutputStream out) throws MicroExecutorServiceCallerException, MicroExecutorServiceCallerUnhandledException
-