public class WorkerExecutionContext extends Object
| Modifier and Type | Field and Description |
|---|---|
CallableUnitInfo |
callableUnitInfo |
Instruction[] |
code |
ConstantPoolEntry[] |
constPool |
Map<String,Object> |
globalProps |
int |
ip |
Map<String,Object> |
localProps |
WorkerExecutionContext |
parent |
ProgramFile |
programFile |
WorkerResponseContext |
respCtx |
int[] |
retRegIndexes |
boolean |
runInCaller |
WorkerState |
state |
boolean |
stop |
WorkerInfo |
workerInfo |
WorkerData |
workerLocal |
WorkerData |
workerResult |
| Constructor and Description |
|---|
WorkerExecutionContext(BStruct error) |
WorkerExecutionContext(ProgramFile programFile) |
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 | Method and Description |
|---|---|
boolean |
equals(Object rhs) |
DebugContext |
getDebugContext() |
BStruct |
getError() |
boolean |
getGlobalTransactionEnabled() |
LocalTransactionInfo |
getLocalTransactionInfo() |
boolean |
isInTransaction() |
boolean |
isRootContext() |
void |
setError(BStruct error) |
void |
setGlobalTransactionEnabled(boolean isGlobalTransactionEnabled) |
void |
setLocalTransactionInfo(LocalTransactionInfo localTransactionInfo) |
String |
toString() |
public WorkerExecutionContext parent
public WorkerState state
public int ip
public boolean stop
public ProgramFile programFile
public ConstantPoolEntry[] constPool
public Instruction[] code
public WorkerData workerLocal
public WorkerData workerResult
public int[] retRegIndexes
public CallableUnitInfo callableUnitInfo
public WorkerInfo workerInfo
public WorkerResponseContext respCtx
public boolean runInCaller
public WorkerExecutionContext(ProgramFile programFile)
public WorkerExecutionContext(BStruct error)
public WorkerExecutionContext(WorkerExecutionContext parent, WorkerResponseContext respCtx, CallableUnitInfo callableUnitInfo, WorkerInfo workerInfo, WorkerData workerLocal, WorkerData workerResult, int[] retRegIndexes, boolean runInCaller)
public WorkerExecutionContext(WorkerExecutionContext parent, WorkerResponseContext respCtx, CallableUnitInfo callableUnitInfo, WorkerInfo workerInfo, WorkerData workerLocal, boolean runInCaller)
public void setError(BStruct error)
public BStruct getError()
public boolean isInTransaction()
public void setLocalTransactionInfo(LocalTransactionInfo localTransactionInfo)
public LocalTransactionInfo getLocalTransactionInfo()
public void setGlobalTransactionEnabled(boolean isGlobalTransactionEnabled)
public boolean getGlobalTransactionEnabled()
public boolean isRootContext()
public DebugContext getDebugContext()
Copyright © 2018 WSO2. All rights reserved.