org.jdesktop.wonderland.client.cell
Class CellStatistics.TimeCellStat

java.lang.Object
  extended by org.jdesktop.wonderland.client.cell.CellStatistics.CellStat
      extended by org.jdesktop.wonderland.client.cell.CellStatistics.LongCellStat
          extended by org.jdesktop.wonderland.client.cell.CellStatistics.TimeCellStat
Enclosing class:
CellStatistics

public static class CellStatistics.TimeCellStat
extends CellStatistics.LongCellStat

A statistic that stores time values. The default time unit is milliseconds, but other time units can be specified.


Constructor Summary
CellStatistics.TimeCellStat(java.lang.String id)
           
CellStatistics.TimeCellStat(java.lang.String id, java.lang.String desc)
           
CellStatistics.TimeCellStat(java.lang.String id, java.lang.String desc, java.util.concurrent.TimeUnit timeUnit)
           
 
Method Summary
protected  java.lang.String getSuffix()
           
 java.util.concurrent.TimeUnit getTimeUnit()
           
 java.lang.String getValue()
          Get the value of this statistic.
 
Methods inherited from class org.jdesktop.wonderland.client.cell.CellStatistics.LongCellStat
changeValue, getLongValue, setValue
 
Methods inherited from class org.jdesktop.wonderland.client.cell.CellStatistics.CellStat
equals, getDescription, getId, hashCode, setDescription
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CellStatistics.TimeCellStat

public CellStatistics.TimeCellStat(java.lang.String id)

CellStatistics.TimeCellStat

public CellStatistics.TimeCellStat(java.lang.String id,
                                   java.lang.String desc)

CellStatistics.TimeCellStat

public CellStatistics.TimeCellStat(java.lang.String id,
                                   java.lang.String desc,
                                   java.util.concurrent.TimeUnit timeUnit)
Method Detail

getValue

public java.lang.String getValue()
Description copied from class: CellStatistics.CellStat
Get the value of this statistic. Subclasses must override this method to return a reasonable string representation of the statistic.

Overrides:
getValue in class CellStatistics.LongCellStat

getTimeUnit

public java.util.concurrent.TimeUnit getTimeUnit()

getSuffix

protected java.lang.String getSuffix()


Open Wonderland - http://openwonderland.org