public class ExecutionEngine extends Object
ExecutionEngine through which plans are submitted, executed
and managed.| Modifier and Type | Field and Description |
|---|---|
static String |
LOADTOPICNAME
Execution engine load notification topic
|
static String |
PRODUCERID
Execution engine topic producer ID
|
| Modifier and Type | Method and Description |
|---|---|
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 String |
getLocalhost() |
static void |
Init(ExecutionEngineConfig Config)
Initializes the single instance of the engine
|
protected static boolean |
isInitialized()
Checks if execution engine is initialized
|
protected static void |
RemoveExecutor(PlanExecutor executor)
Removes the executor.
|
static ExecutionHandle |
Submit(ExecutionPlan plan)
Submit an execution plan to retrieve an
ExecutionHandle |
public static final String PRODUCERID
public static final String LOADTOPICNAME
public static String getLocalhost()
public static void Init(ExecutionEngineConfig Config)
Config - the configpublic static ExecutionHandle Submit(ExecutionPlan plan) throws ExecutionEngineFullException, ExecutionValidationException, ExecutionInternalErrorException
ExecutionHandleplan - the planExecutionEngineFullException - the execution engine fullExecutionValidationException - A validation error occurredExecutionInternalErrorException - An internal error occurredpublic static void Execute(ExecutionHandle Handle) throws ExecutionInternalErrorException
ExecutionHandleHandle - the handleExecutionInternalErrorException - An internal error occurredpublic static EngineStatus GetEngineStatus() throws ExecutionInternalErrorException
ExecutionInternalErrorException - An internal error occurredprotected static void RemoveExecutor(PlanExecutor executor)
executor - the executorprotected static boolean isInitialized()
throws ExecutionInternalErrorException
ExecutionInternalErrorExceptionCopyright © 2015. All Rights Reserved.