public class PlanExecutor extends Thread implements Observer
ExecutionPlan. Its role is to start in a background
thread the execution of a plan and monitor its status until it is completed. Once the execution
is completed, the instance removes it self from the list of PlanExecutors the engine
references and cleans up any local files that are marked for cleanup in the plan.Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PlanExecutor(ExecutionHandle Handle)
Instantiates a new plan executor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Dispose()
Unregisters itself from registered events, cleans up local files that are marked for cleanup
in the plan and calls
ExecutionHandle.Dispose() |
ExecutionHandle |
GetHandle()
Gets the handle.
|
void |
run() |
void |
update(Observable o,
Object arg) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic PlanExecutor(ExecutionHandle Handle)
Handle - the handlepublic ExecutionHandle GetHandle()
public void update(Observable o, Object arg)
public void Dispose()
ExecutionHandle.Dispose()Copyright © 2015. All Rights Reserved.