|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.execution.engine.ExecutionEngine
public class ExecutionEngine
This class acts as a singleton instance of an ExecutionEngine through which plans are submitted, executed
and managed.
| Field Summary | |
|---|---|
static String |
LOADTOPICNAME
Execution engine load notification topic |
static String |
PRODUCERID
Execution engine topic producer ID |
| Method Summary | |
|---|---|
static void |
Execute(ExecutionHandle Handle)
Start the execution of the plan that is described by the provided ExecutionHandle |
static EngineStatus |
GetEngineStatus()
Retrieves the status if the engine in this node |
static void |
Init(ExecutionEngineConfig Config)
Initializes the single instance of the engine |
protected static void |
RemoveExecutor(PlanExecutor executor)
Removes the executor. |
static ExecutionHandle |
Submit(ExecutionPlan plan)
Submit an execution plan to retrieve an ExecutionHandle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PRODUCERID
public static final String LOADTOPICNAME
| Method Detail |
|---|
public static void Init(ExecutionEngineConfig Config)
Config - the config
public static ExecutionHandle Submit(ExecutionPlan plan)
throws ExecutionEngineFullException,
ExecutionValidationException,
ExecutionInternalErrorException
ExecutionHandle
plan - the plan
ExecutionEngineFullException - the execution engine full
ExecutionValidationException - A validation error occurred
ExecutionInternalErrorException - An internal error occurred
public static void Execute(ExecutionHandle Handle)
throws ExecutionInternalErrorException
ExecutionHandle
Handle - the handle
ExecutionInternalErrorException - An internal error occurred
public static EngineStatus GetEngineStatus()
throws ExecutionInternalErrorException
ExecutionInternalErrorException - An internal error occurredprotected static void RemoveExecutor(PlanExecutor executor)
executor - the executor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||