Class DebugControlThread

java.lang.Object
org.apache.uima.collection.impl.cpm.engine.DebugControlThread
All Implemented Interfaces:
Runnable

public class DebugControlThread extends Object implements Runnable
The Class DebugControlThread.
  • Constructor Details

    • DebugControlThread

      public DebugControlThread(CPMEngine aCpm, String aFilename, int aCheckpointFrequency)
      Instantiates a new debug control thread.
      Parameters:
      aCpm - the a cpm
      aFilename - the a filename
      aCheckpointFrequency - the a checkpoint frequency
  • Method Details

    • start

      public void start() throws RuntimeException
      Start.
      Throws:
      RuntimeException - the runtime exception
    • stop

      public void stop()
      Stop.
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • deleteCheckpoint

      public void deleteCheckpoint()
      Delete checkpoint.
    • pause

      public void pause()
      Pause.
    • resume

      public void resume()
      Resume.
    • doCheckpoint

      public String doCheckpoint()
      Do checkpoint.
      Returns:
      the string
    • exists

      public boolean exists()
      Exists.
      Returns:
      true, if successful