org.apache.uima.collection.impl.metadata.cpe
Class CpeTimerImpl

java.lang.Object
  extended by org.apache.uima.collection.impl.metadata.cpe.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
CpeTimerImpl(java.lang.String aTimerClass)
           
 
Method Summary
 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

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


Copyright © 2012. All Rights Reserved.