Modifier and Type | Class and Description |
---|---|
class |
BLangCallableUnitCallback
This class represents the callback functionality for non-blocking native calls.
|
Modifier and Type | Class and Description |
---|---|
static class |
BLangScheduler.BLangAsyncCallableUnitCallback
This class represents the callback functionality for async non-blocking native calls.
|
Modifier and Type | Field and Description |
---|---|
protected List<CallableUnitCallback> |
BaseWorkerResponseContext.responseCallbacks |
Modifier and Type | Method and Description |
---|---|
void |
BlockingNativeCallableUnit.execute(Context context,
CallableUnitCallback callback) |
void |
BaseWorkerResponseContext.registerResponseCallback(CallableUnitCallback responseCallback)
Registers a response callback handler with this context.
|
Modifier and Type | Method and Description |
---|---|
static void |
Executor.submit(Resource resource,
CallableUnitCallback responseCallback,
Map<String,Object> properties,
ObserverContext observerContext,
BValue... values)
This method will execute Ballerina resource in non-blocking manner.
|
static void |
Executor.submit(Resource resource,
CallableUnitCallback responseCallback,
Map<String,Object> properties,
ObserverContext observerContext,
WorkerExecutionContext context,
BValue... values)
This method will execute Ballerina resource in non-blocking manner.
|
Modifier and Type | Method and Description |
---|---|
static void |
ResourceExecutor.execute(Resource resource,
CallableUnitCallback responseCallback,
Map<String,Object> properties,
ObserverContext observerContext,
WorkerExecutionContext context,
BValue... bValues)
This method will execute the resource, given required details.
|
Modifier and Type | Method and Description |
---|---|
void |
NativeCallableUnit.execute(Context context,
CallableUnitCallback callback)
Executes the implementation of the callable unit.
|
Modifier and Type | Class and Description |
---|---|
class |
CallableUnitCallbackObserver
CallableUnitCallbackObserver wraps CallableUnitCallback
to observe events. |
class |
CallbackObserver
CallbackObserver represents the callback functionality
for traceable functions. |
Constructor and Description |
---|
CallableUnitCallbackObserver(ObserverContext observerContext,
CallableUnitCallback callback) |
Modifier and Type | Method and Description |
---|---|
static void |
BLangFunctions.invokeServiceCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
ObserverContext observerContext,
BValue[] args,
CallableUnitCallback responseCallback) |
Copyright © 2018 WSO2. All rights reserved.