| Package | Description |
|---|---|
| org.ballerinalang.bre | |
| org.ballerinalang.bre.bvm | |
| org.ballerinalang.util.codegen | |
| org.ballerinalang.util.program |
| Modifier and Type | Method and Description |
|---|---|
CallableUnitInfo |
NativeCallContext.getCallableUnitInfo() |
CallableUnitInfo |
Context.getCallableUnitInfo() |
| Constructor and Description |
|---|
NativeCallContext(WorkerExecutionContext parentCtx,
CallableUnitInfo callableUnitInfo,
WorkerData workerLocal) |
| Modifier and Type | Field and Description |
|---|---|
CallableUnitInfo |
WorkerExecutionContext.callableUnitInfo |
| Modifier and Type | Method and Description |
|---|---|
CallableUnitInfo |
StackFrame.getCallableUnitInfo() |
| Modifier and Type | Method and Description |
|---|---|
static void |
BLangVMErrors.attachStackFrame(BStruct error,
CallableUnitInfo callableUnitInfo) |
static BStruct |
BLangVMErrors.createCallCancelledException(CallableUnitInfo callableUnitInfo) |
static BStruct |
BLangVMErrors.createError(CallableUnitInfo callableUnitInfo,
String message) |
static BStruct |
BLangVMErrors.createNullRefException(CallableUnitInfo callableUnitInfo) |
static BRefValueArray |
BLangVMErrors.generateCallStack(WorkerExecutionContext context,
CallableUnitInfo nativeCUI) |
static BStruct |
BLangVMErrors.getStackFrame(CallableUnitInfo callableUnitInfo,
int ip) |
static void |
BLangVMWorkers.invoke(ProgramFile programFile,
CallableUnitInfo callableUnitInfo,
Context parent) |
static void |
BLangVMWorkers.invoke(ProgramFile programFile,
CallableUnitInfo callableUnitInfo,
Context parent,
Map<String,Object> properties) |
| Constructor and Description |
|---|
AsyncInvocableWorkerResponseContext(CallableUnitInfo callableUnitInfo) |
AsyncInvocableWorkerResponseContext(CallableUnitInfo callableUnitInfo,
int workerCount) |
StackFrame(CallableUnitInfo callableUnitInfo,
WorkerInfo workerInfo,
int retAddrs,
int[] retRegIndexes) |
StackFrame(CallableUnitInfo callableUnitInfo,
WorkerInfo workerInfo,
int retAddrs,
int[] retRegIndexes,
BValue[] returnValues) |
WorkerExecutionContext(WorkerExecutionContext parent,
WorkerResponseContext respCtx,
CallableUnitInfo callableUnitInfo,
WorkerInfo workerInfo,
WorkerData workerLocal,
boolean runInCaller) |
WorkerExecutionContext(WorkerExecutionContext parent,
WorkerResponseContext respCtx,
CallableUnitInfo callableUnitInfo,
WorkerInfo workerInfo,
WorkerData workerLocal,
WorkerData workerResult,
int[] retRegIndexes,
boolean runInCaller) |
| Modifier and Type | Class and Description |
|---|---|
class |
ActionInfo
ActionInfo contains metadata of a Ballerina action entry in the program file. |
class |
FunctionInfo
FunctionInfo contains metadata of a Ballerina function entry in the program file. |
class |
ResourceInfo
ResourceInfo contains metadata of a Ballerina resource entry in the program file. |
class |
TransformerInfo
TransformerInfo contains metadata of a Ballerina transformer entry in the program file. |
| Modifier and Type | Method and Description |
|---|---|
void |
ProgramFileReader.readWorkerDataChannelEntries(DataInputStream dataInputStream,
PackageInfo packageInfo,
CallableUnitInfo callableUnitInfo) |
| Modifier and Type | Method and Description |
|---|---|
static BValue[] |
BLangFunctions.invokeCallable(CallableUnitInfo callableUnitInfo,
BValue[] args) |
static void |
BLangFunctions.invokeCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx) |
static BValue[] |
BLangFunctions.invokeCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
BValue[] args) |
static WorkerExecutionContext |
BLangFunctions.invokeCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
int[] argRegs,
int[] retRegs,
boolean waitForResponse) |
static WorkerExecutionContext |
BLangFunctions.invokeCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
int[] argRegs,
int[] retRegs,
boolean waitForResponse,
int flags) |
static WorkerExecutionContext |
BLangFunctions.invokeNonNativeCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
int[] argRegs,
int[] retRegs,
boolean waitForResponse,
int flags) |
static void |
BLangFunctions.invokeNonNativeCallableAsync(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
int[] argRegs,
int[] retRegs) |
static void |
BLangFunctions.invokeServiceCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
BValue[] args,
CallableUnitCallback responseCallback) |
static void |
BLangFunctions.invokeServiceCallable(CallableUnitInfo callableUnitInfo,
WorkerExecutionContext parentCtx,
int[] argRegs,
int[] retRegs,
CallableUnitCallback responseCallback)
This method does not short circuit the execution of the first worker to execute in the
same calling thread, but rather executes all the workers in their own separate threads.
|
static int[][] |
BLangVMUtils.populateArgAndReturnData(WorkerExecutionContext ctx,
CallableUnitInfo callableUnitInfo,
BValue[] args) |
static BValue[] |
BLangVMUtils.populateReturnData(WorkerExecutionContext ctx,
CallableUnitInfo callableUnitInfo,
int[] retRegs) |
| Constructor and Description |
|---|
SynchronizedStackFrame(CallableUnitInfo callableUnitInfo,
WorkerInfo workerInfo,
int retAddrs,
int[] retRegIndexes) |
Copyright © 2018 WSO2. All rights reserved.