Class CpeTimerImpl

java.lang.Object
org.apache.uima.collection.impl.metadata.cpe.CpeTimerImpl
All Implemented Interfaces:
CpeTimer

public class CpeTimerImpl extends Object implements CpeTimer
This class provides an API to plug in custom timers.
  • Constructor Details

    • CpeTimerImpl

      public CpeTimerImpl(String aTimerClass)
      Instantiates a new cpe timer impl.
      Parameters:
      aTimerClass - the a timer class
  • Method Details

    • set

      public void set(String aTimerClass) throws CpeDescriptorException
      Description copied from interface: CpeTimer
      Plug-in a custom timer class to be used for measuring performance.
      Specified by:
      set in interface CpeTimer
      Parameters:
      aTimerClass - - name of a timer class
      Throws:
      CpeDescriptorException - tbd
    • get

      public String get()
      Description copied from interface: CpeTimer
      Return a name of the timer class
      Specified by:
      get in interface CpeTimer
      Returns:
      - class as string