ariba.util.core
Class PerformanceStateTimedCounter.Instance
java.lang.Object
ariba.util.core.PerformanceStateCore.Instance
ariba.util.core.PerformanceStateCounter.Instance
ariba.util.core.PerformanceStateTimedCounter.Instance
- Enclosing class:
- PerformanceStateTimedCounter
public static class PerformanceStateTimedCounter.Instance
- extends PerformanceStateCounter.Instance
the real instance
ColumnElapsedTime
public static final String ColumnElapsedTime
- The key for the elapsed time in the results EqHashtable.
PerformanceStateTimedCounter.Instance
public PerformanceStateTimedCounter.Instance(String name)
start
public void start()
stop
public void stop(long quantity,
long count2Inc,
String type)
- Stop the timer and record a quantity of items
stop
public void stop(long quantity,
long count2Inc)
stop
public void stop(long quantity,
String type)
stop
public void stop(long quantity)
getState
public int getState()
pause
public void pause(long quantity)
- Pause the timer and record a quantity of elements to add to
the metrics.
resume
public void resume()
getElapsedTime
public long getElapsedTime()
- Returns the currently elapsed time, without stopping the timer
- Overrides:
getElapsedTime in class PerformanceStateCore.Instance
elapsedTimeString
public String elapsedTimeString()
- Overrides:
elapsedTimeString in class PerformanceStateCore.Instance
resolutionLevel
public int resolutionLevel()
getData
public Map getData()
- Returns a hashtable with all the data from this metric.
Do not call this method on the static instances.
- Overrides:
getData in class PerformanceStateCounter.Instance
AribaWeb User Interface Development Framework
Copyright © 2000-2009 Ariba, Inc. All Rights Reserved.