Class ProcessTrace_impl

java.lang.Object
org.apache.uima.util.impl.ProcessTrace_impl
All Implemented Interfaces:
Serializable, ProcessTrace

public class ProcessTrace_impl extends Object implements ProcessTrace
Reference implementation of ProcessTrace.
See Also:
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
    • disabledProcessTrace

      public static ProcessTrace disabledProcessTrace
    • mEventList

      private List<ProcessTraceEvent> mEventList
      List of closed events.
    • mOpenEvents

      private Stack<ProcessTraceEvent_impl> mOpenEvents
      Stack of open events.
    • mTimer

      private UimaTimer mTimer
      Timer class used to get timing information.
    • mEnabled

      private boolean mEnabled
      Indicates whether process trace is enabled.
  • Constructor Details

    • ProcessTrace_impl

      public ProcessTrace_impl()
      Create a ProcessTrace_impl using the framework's default timer.
    • ProcessTrace_impl

      ProcessTrace_impl(boolean enabled)
    • ProcessTrace_impl

      public ProcessTrace_impl(Properties aPerformanceTuningSettings)
      Create a ProcessTrace_impl using the framework's default timer.
      Parameters:
      aPerformanceTuningSettings - performance tuning settings. One of the settings allows the ProcessTrace to be disabled.
    • ProcessTrace_impl

      public ProcessTrace_impl(UimaTimer aTimer)
      Create a ProcessTrace_impl with a custom timer.
      Parameters:
      aTimer - the timer to use for collecting performance stats
    • ProcessTrace_impl

      public ProcessTrace_impl(UimaTimer aTimer, Properties aPerformanceTuningSettings)
      Create a ProcessTrace_impl with a custom timer.
      Parameters:
      aTimer - the timer to use for collecting performance stats
      aPerformanceTuningSettings - performance tuning settings. One of the settings allows the ProcessTrace to be disabled.
  • Method Details