|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.grandcentral.appstats.impl.StatImpl | +--com.grandcentral.appstats.impl.TimerImpl
Title:
Description:
Copyright: Copyright (c) 2002
Company: Grand Central Communications
Fields inherited from class com.grandcentral.appstats.impl.StatImpl |
m_aDouble, m_aggr, m_aLong, m_name, m_obj, m_type |
Fields inherited from interface com.grandcentral.appstats.Stat |
AGGREGATE_AVG, AGGREGATE_EXPAVG, AGGREGATE_MAX, AGGREGATE_MIN, AGGREGATE_REPLACE, AGGREGATE_SUM, DELIM_STATNAME, DELIM_STATPREFIX, DELIM_TASKPARENT, DONT_AGGREGATE, TYPE_DOUBLE, TYPE_HEIRARCH, TYPE_HIDDEN, TYPE_LONG, TYPE_OBJECT, TYPE_UNDEFINED |
Constructor Summary | |
TimerImpl()
|
Method Summary | |
long |
getLong()
|
long |
getRunningTime()
Returns total running time. |
void |
reset()
clears timer value to 0 |
long |
start()
starts the timer and returns the start time |
long |
start(boolean reset)
starts the timer and returns the start time. |
long |
stop()
stops the timer and returns the timer's current value |
Methods inherited from class com.grandcentral.appstats.impl.StatImpl |
addAggregationMethod, addType, clone, containsAggregationMethod, containsType, createFullName, createFullName, createStatName, fromStringAbbr, getAggregationMethod, getDouble, getFullName, getObject, getStatName, getStatName, getStatPrefix, getStatPrefix, getStatSuffix, getStatSuffix, getTaskHierarchy, getTaskHierarchy, getType, isValidPrefix, isValidStatName, isValidSuffix, isValidTaskName, prependTaskName, prependTaskName, removeAggregationMethod, removeType, setAggregationMethod, setDouble, setFullName, setLong, setObject, setStatName, setStatPrefix, setStatSuffix, setTaskHierarchy, setType, toString, toStringAbbr, toStringAbbr |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.grandcentral.appstats.Stat |
addAggregationMethod, addType, clone, containsAggregationMethod, containsType, fromStringAbbr, getAggregationMethod, getDouble, getFullName, getObject, getStatName, getStatPrefix, getStatSuffix, getTaskHierarchy, getType, prependTaskName, removeAggregationMethod, removeType, setAggregationMethod, setDouble, setFullName, setLong, setObject, setStatName, setStatPrefix, setStatSuffix, setTaskHierarchy, setType, toStringAbbr, toStringAbbr |
Constructor Detail |
public TimerImpl()
Method Detail |
public long start()
Timer
start
in interface Timer
com.grandcentral.appstats.Timer
public long start(boolean reset)
Timer
start
in interface Timer
com.grandcentral.appstats.Timer
public long stop()
Timer
stop
in interface Timer
com.grandcentral.appstats.Timer
public void reset()
Timer
reset
in interface Timer
public long getRunningTime()
Timer
getRunningTime
in interface Timer
public long getLong()
getLong
in interface Stat
getLong
in class StatImpl
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |