Package org.spf4j.zel.instr
Class Instruction
- java.lang.Object
-
- org.spf4j.zel.instr.Instruction
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ABS,ADD,AND,ARR,CALL,CALLA,CALLREF,CDEREFX,DEC,DEREF,DEREFX,DIV,DUP,EQ,FIRST,FJMP,GE,GT,HALT,INC,JMP,LE,LODAX,LODAXF,LODX,LODXF,LT,MCTX,MOD,MOV,MOVN,MUL,NEQ,NJMP,NOP,NOT,OR,POW,PUSH,PUSHM,REF,RLIKE,SLEEP,SUB,SWAP,SYNC,THROW,XOR
public abstract class Instruction extends Object implements Serializable
Title: VM Instruction
Description: Abstract Instruction Implementation
- Author:
- zoly
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Instruction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract intexecute(ExecutionContext context)Instruction executionabstract Object[]getParameters()StringtoString()Outputs Instruction Name - use for debug purposes ...
-
-
-
Method Detail
-
execute
public abstract int execute(ExecutionContext context) throws ExecutionException, InterruptedException, SuspendedException
Instruction execution- Parameters:
context- ExecutionContext- Throws:
InterruptedExceptionExecutionExceptionSuspendedException
-
getParameters
public abstract Object[] getParameters()
-
-