public abstract class TimeStatsAbstractImpl extends AbstractTreeNode implements TimeStats
Modifier and Type | Field and Description |
---|---|
protected static String |
NEWLINE |
protected long |
startTime |
category, children, description, enabled, name
Constructor and Description |
---|
TimeStatsAbstractImpl() |
Modifier and Type | Method and Description |
---|---|
long |
getCount() |
long |
getLastSampleTime() |
long |
getMaximumTime() |
long |
getMaxTime() |
long |
getMinimumTime() |
long |
getMinTime() |
long |
getStartTime() |
double |
getTime() |
long |
getTimesCalled() |
long |
getTotalTime() |
protected void |
postEntry(long entryTime) |
void |
postExit(long exitTime) |
void |
setReset(boolean reset) |
void |
setTime(long time) |
addChild, compareTo, equals, getCategory, getChild, getChildNodes, getChildNodesImmutable, getCompletePathName, getDescription, getEnabledChildNodes, getName, getNode, getNodes, getNodes, getParent, getPossibleParentNode, getValue, hasChildNodes, hashCode, isEnabled, removeChild, setCategory, setDescription, setEnabled, setName, setParent, toString, traverse
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addChild, getCategory, getChild, getChildNodes, getCompletePathName, getDescription, getEnabledChildNodes, getNode, getNodes, getNodes, getParent, getPossibleParentNode, hasChildNodes, isEnabled, removeChild, setCategory, setDescription, setEnabled, setParent, traverse
getName, getValue, setName
protected static final String NEWLINE
protected long startTime
protected void postEntry(long entryTime)
public void postExit(long exitTime)
public long getMinimumTime()
getMinimumTime
in interface TimeStats
public long getMaximumTime()
getMaximumTime
in interface TimeStats
public long getTimesCalled()
getTimesCalled
in interface TimeStats
public long getCount()
getCount
in interface org.glassfish.external.statistics.TimeStatistic
public long getMaxTime()
getMaxTime
in interface org.glassfish.external.statistics.TimeStatistic
public long getMinTime()
getMinTime
in interface org.glassfish.external.statistics.TimeStatistic
public long getTotalTime()
getTotalTime
in interface org.glassfish.external.statistics.TimeStatistic
public long getLastSampleTime()
getLastSampleTime
in interface org.glassfish.external.statistics.Statistic
public long getStartTime()
getStartTime
in interface org.glassfish.external.statistics.Statistic
Copyright © 2021. All rights reserved.