Class CpeTimerImpl

  • All Implemented Interfaces:
    CpeTimer

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

      Constructors 
      Constructor Description
      CpeTimerImpl​(java.lang.String aTimerClass)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String get()
      Return a name of the timer class
      void set​(java.lang.String aTimerClass)
      Plug-in a custom timer class to be used for measuring performance.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CpeTimerImpl

        public CpeTimerImpl​(java.lang.String aTimerClass)
    • Method Detail

      • set

        public void set​(java.lang.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 java.lang.String get()
        Description copied from interface: CpeTimer
        Return a name of the timer class
        Specified by:
        get in interface CpeTimer
        Returns:
        - class as string