ariba.util.core
Class PerformanceStateTimedCounter
java.lang.Object
ariba.util.core.PerformanceStateCore
ariba.util.core.PerformanceStateCounter
ariba.util.core.PerformanceStateTimedCounter
- Direct Known Subclasses:
- PerformanceStateCPUTimedCounter
public class PerformanceStateTimedCounter
- extends PerformanceStateCounter
Method Summary |
int |
getState()
|
void |
pause()
Pause the timer (stop gathering time) |
void |
resume()
Resume timing. |
void |
start()
Start a timer |
long |
stop()
Stop the timer. |
long |
stop(long quantity)
|
long |
stop(long quantity,
long count2Inc)
|
long |
stop(long quantity,
long count2Inc,
java.lang.String type)
Stop the timer and record a quantity of items |
long |
stop(long quantity,
java.lang.String type)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STOPPED
public static final int STOPPED
- See Also:
- Constant Field Values
RUNNING
public static final int RUNNING
- See Also:
- Constant Field Values
PAUSED
public static final int PAUSED
- See Also:
- Constant Field Values
PerformanceStateTimedCounter
public PerformanceStateTimedCounter(java.lang.String name,
int logRank,
int logFlags)
PerformanceStateTimedCounter
public PerformanceStateTimedCounter(java.lang.String name,
int logRank)
PerformanceStateTimedCounter
public PerformanceStateTimedCounter(java.lang.String name)
start
public void start()
- Start a timer
pause
public void pause()
- Pause the timer (stop gathering time)
resume
public void resume()
- Resume timing.
stop
public long stop()
- Stop the timer.
stop
public long stop(long quantity,
long count2Inc,
java.lang.String type)
- Stop the timer and record a quantity of items
stop
public long stop(long quantity,
long count2Inc)
stop
public long stop(long quantity,
java.lang.String type)
stop
public long stop(long quantity)
getState
public int getState()
AribaWeb User Interface Development Framework
Copyright © 2000-2014 Ariba, Inc. All Rights Reserved.