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(BMap<String,BValue> 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() |
BMap<String,BValue> |
getError() |
boolean |
getGlobalTransactionEnabled() |
LocalTransactionInfo |
getLocalTransactionInfo() |
boolean |
isInTransaction() |
boolean |
isRootContext() |
void |
setError(BMap<String,BValue> error) |
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(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 boolean isInTransaction()
public void setLocalTransactionInfo(LocalTransactionInfo localTransactionInfo)
public LocalTransactionInfo getLocalTransactionInfo()
public boolean getGlobalTransactionEnabled()
public boolean isRootContext()
public DebugContext getDebugContext()
Copyright © 2018 WSO2. All rights reserved.