etm.core.metadata
Class TimerMetaData

java.lang.Object
  extended by etm.core.metadata.TimerMetaData
All Implemented Interfaces:
java.io.Serializable

public class TimerMetaData
extends java.lang.Object
implements java.io.Serializable

The TimerMetaData provide useful information about a timer implementation.

Version:
$Revision: 35 $
Author:
void.fm
See Also:
Serialized Form

Constructor Summary
TimerMetaData(java.lang.Class aClazz, java.lang.String aDescription, long aTicksPerSecond)
           
 
Method Summary
 java.lang.String getDescription()
          Returns a short timer description.
 java.lang.Class getImplementationClass()
          Returns the timer implementation class.
 long getTicksPerSecond()
          Returns the ticks per second used by this timer.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimerMetaData

public TimerMetaData(java.lang.Class aClazz,
                     java.lang.String aDescription,
                     long aTicksPerSecond)
Method Detail

getImplementationClass

public java.lang.Class getImplementationClass()
Returns the timer implementation class.

Returns:
The implementation class.

getDescription

public java.lang.String getDescription()
Returns a short timer description.

Returns:
The timer description.

getTicksPerSecond

public long getTicksPerSecond()
Returns the ticks per second used by this timer.

Returns:
Ticks per second.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004,2005, 2006, 2007 void.fm. All Rights Reserved.