java.lang.Object
org.apache.uima.collection.impl.cpm.utils.JavaTimer
All Implemented Interfaces:
Serializable, Timer

@Deprecated public class JavaTimer extends Object implements Timer, Serializable
Deprecated.
replaced by UimaTimer
The Class JavaTimer.
See Also:
  • Constructor Details

    • JavaTimer

      public JavaTimer()
      Deprecated.
  • Method Details

    • start

      public void start()
      Deprecated.
      Description copied from interface: Timer
      Start.
      Specified by:
      start in interface Timer
    • end

      public void end()
      Deprecated.
      Description copied from interface: Timer
      End.
      Specified by:
      end in interface Timer
    • getResolution

      public long getResolution()
      Deprecated.
      Description copied from interface: Timer
      Gets the resolution.
      Specified by:
      getResolution in interface Timer
      Returns:
      the resolution
    • getDuration

      public long getDuration()
      Deprecated.
      Description copied from interface: Timer
      Gets the duration.
      Specified by:
      getDuration in interface Timer
      Returns:
      the duration
    • getTimeInSecs

      public long getTimeInSecs()
      Deprecated.
      Description copied from interface: Timer
      Gets the time in secs.
      Specified by:
      getTimeInSecs in interface Timer
      Returns:
      the time in secs
    • getTimeInMillis

      public long getTimeInMillis()
      Deprecated.
      Description copied from interface: Timer
      Gets the time in millis.
      Specified by:
      getTimeInMillis in interface Timer
      Returns:
      the time in millis
    • getTimeInMicros

      public long getTimeInMicros()
      Deprecated.
      Description copied from interface: Timer
      Gets the time in micros.
      Specified by:
      getTimeInMicros in interface Timer
      Returns:
      the time in micros