Class DebugControlThread

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

public class DebugControlThread extends Object implements Runnable
  • Field Details

    • NOTFOUND

      private static final String NOTFOUND
      See Also:
    • fileName

      private String fileName
    • stop

      private volatile boolean stop
    • checkpointFrequency

      private int checkpointFrequency
    • pause

      private boolean pause
    • lockForPause

      private final Object lockForPause
    • cpm

      private CPMEngine cpm
  • Constructor Details

    • DebugControlThread

      public DebugControlThread(CPMEngine aCpm, String aFilename, int aCheckpointFrequency)
  • Method Details

    • start

      public void start() throws RuntimeException
      Throws:
      RuntimeException
    • stop

      public void stop()
    • run

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

      private void interpretAndExecuteCommand(String aCommand)
      Parameters:
      aCommand -
    • deleteCheckpoint

      public void deleteCheckpoint()
    • pause

      public void pause()
    • resume

      public void resume()
    • doCheckpoint

      public String doCheckpoint()
    • exists

      public boolean exists()