com.google.code.jetm.reporting.ext
Class NoOpEtmPoint

java.lang.Object
  extended by com.google.code.jetm.reporting.ext.NoOpEtmPoint
All Implemented Interfaces:
etm.core.monitor.EtmPoint

public class NoOpEtmPoint
extends Object
implements etm.core.monitor.EtmPoint

An implementation of EtmPoint that does nothing.

Author:
JH016266

Constructor Summary
NoOpEtmPoint(String name)
          Create a no-op ETM point.
 
Method Summary
 void alterName(String newName)
          
 void collect()
          
 long getEndTime()
          
 String getName()
          
 etm.core.monitor.EtmPoint getParent()
          
 long getStartTime()
          
 long getStartTimeMillis()
          
 long getTicks()
          
 double getTransactionTime()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoOpEtmPoint

public NoOpEtmPoint(String name)
Create a no-op ETM point.

Parameters:
name - The name of the point.
Method Detail

alterName

public void alterName(String newName)

Specified by:
alterName in interface etm.core.monitor.EtmPoint

collect

public void collect()

Specified by:
collect in interface etm.core.monitor.EtmPoint

getEndTime

public long getEndTime()

Specified by:
getEndTime in interface etm.core.monitor.EtmPoint

getName

public String getName()

Specified by:
getName in interface etm.core.monitor.EtmPoint

getParent

public etm.core.monitor.EtmPoint getParent()

Specified by:
getParent in interface etm.core.monitor.EtmPoint

getStartTime

public long getStartTime()

Specified by:
getStartTime in interface etm.core.monitor.EtmPoint

getStartTimeMillis

public long getStartTimeMillis()

Specified by:
getStartTimeMillis in interface etm.core.monitor.EtmPoint

getTicks

public long getTicks()

Specified by:
getTicks in interface etm.core.monitor.EtmPoint

getTransactionTime

public double getTransactionTime()

Specified by:
getTransactionTime in interface etm.core.monitor.EtmPoint


Copyright © 2011. All Rights Reserved.