Class DebugControlThread
java.lang.Object
org.apache.uima.collection.impl.cpm.engine.DebugControlThread
- All Implemented Interfaces:
Runnable
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDebugControlThread(CPMEngine aCpm, String aFilename, int aCheckpointFrequency) Instantiates a new debug control thread. -
Method Summary
-
Field Details
-
NOTFOUND
-
fileName
The file name. -
stop
private volatile boolean stopThe stop. -
checkpointFrequency
private int checkpointFrequencyThe checkpoint frequency. -
pause
private boolean pauseThe pause. -
lockForPause
The lock for pause. -
cpm
The cpm.
-
-
Constructor Details
-
DebugControlThread
-
-
Method Details
-
start
-
stop
public void stop()Stop. -
run
-
interpretAndExecuteCommand
Interpret and execute command.- Parameters:
aCommand- the a command
-
deleteCheckpoint
public void deleteCheckpoint()Delete checkpoint. -
pause
public void pause()Pause. -
resume
public void resume()Resume. -
doCheckpoint
-
exists
public boolean exists()Exists.- Returns:
- true, if successful
-