Class DebugControlThread
java.lang.Object
org.apache.uima.collection.impl.cpm.engine.DebugControlThread
- All Implemented Interfaces:
Runnable
The Class DebugControlThread.
-
Constructor Summary
ConstructorDescriptionDebugControlThread
(CPMEngine aCpm, String aFilename, int aCheckpointFrequency) Instantiates a new debug control thread. -
Method Summary
-
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() -
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
-