|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IScalar
The IScalar interface is used for simple integer statistical counters.
This interface provides methods that are used for counters of type SCALAR and STATIC.
StatType
Method Summary | |
---|---|
void |
decrement()
Decrement the counter by 1. |
void |
decrement(long value)
Decrement the counter by the given value. |
void |
increment()
Increment the counter by 1. |
void |
increment(long value)
Increment the counter by the given value. |
void |
reset()
Mark the counter unmodified. |
void |
setValue(long v)
Set the value of the counter. |
long |
value()
Return the current value of the counter. |
Methods inherited from interface com.ibm.rational.test.lt.kernel.statistics.IStatTree |
---|
getAverage, getAverage, getDistribution, getDistribution, getRange, getRange, getRate, getRate, getScalar, getScalar, getStat, getStatic, getStatic, getStructure, getStructure, getText, getText, getVerificationPoint, getVerificationPoint, makeDefinition, makeObservation, setDescription |
Method Detail |
---|
void increment()
void increment(long value)
value
- the number to add to the counter.void decrement()
void decrement(long value)
value
- the number to subtract from the counter.void reset()
If a counter is not modified in a particular interval it will not be reported to the RPT workbench.
Used for internal testing purposes only.
void setValue(long v)
v
- the new value for the counter.long value()
|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |