Class PrimitiveAnalysisEngineController_impl.StackDumpTimer

java.lang.Object
org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.StackDumpTimer
Enclosing class:
PrimitiveAnalysisEngineController_impl

public class PrimitiveAnalysisEngineController_impl.StackDumpTimer extends Object
The HeapDumpTimer is optionally used to dump the heap if a task takes too much time to finish. It is enabled from the System property -DheapDumpThreshold= where x is a number of seconds the task is allowed to complete. If the task is not completed, the heap dump will be created.
  • Constructor Details

    • StackDumpTimer

      public StackDumpTimer(int seconds)
  • Method Details

    • cancel

      public void cancel()