Package org.apache.uima.aae.controller
Class PrimitiveAnalysisEngineController_impl.StackDumpTimer
java.lang.Object
org.apache.uima.aae.controller.PrimitiveAnalysisEngineController_impl.StackDumpTimer
- Enclosing class:
- PrimitiveAnalysisEngineController_impl
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 Summary
Constructors -
Method Summary
-
Constructor Details
-
StackDumpTimer
public StackDumpTimer(int seconds)
-
-
Method Details
-
cancel
public void cancel()
-