Class DebugControlThread
java.lang.Object
org.apache.uima.collection.impl.cpm.engine.DebugControlThread
- All Implemented Interfaces:
Runnable
The Class DebugControlThread.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDebugControlThread
(CPMEngine aCpm, String aFilename, int aCheckpointFrequency) Instantiates a new debug control thread. -
Method Summary
-
Field Details
-
NOTFOUND
The Constant NOTFOUND.- See Also:
-
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
Instantiates a new debug control thread.- Parameters:
aCpm
- the a cpmaFilename
- the a filenameaCheckpointFrequency
- the a checkpoint frequency
-
-
Method Details
-
start
Start.- Throws:
RuntimeException
- the runtime exception
-
stop
public void stop()Stop. -
run
public void 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
Do checkpoint.- Returns:
- the string
-
exists
public boolean exists()Exists.- Returns:
- true, if successful
-