|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.rational.test.lt.kernel.statistics.impl.StatType
This class provides a list of valid statistical counter types.
The constants are used as arguments to IStatTree
.getStat().
Field Summary | |
---|---|
static StatType |
AVERAGE
An AVERAGE counter represents a collection of values which should be averaged. |
static int |
iAVERAGE
The integer value of the AVERAGE StatType. |
static int |
iRANGE
The integer value of the RANGE StatType. |
static int |
iRATE
The integer value of the RATE StatType. |
static int |
iSCALAR
The integer value of the SCALAR StatType. |
static int |
iSTATIC
The integer value of the STATIC StatType. |
static int |
iSTRUCTURE
The integer value of the STRUCTURE StatType. |
static int |
iTEXT
The integer value of the TEXT StatType. |
static StatType |
RANGE
A RANGE counter represents a collection of values which should be averaged and a minimum and maximum value are of interest. |
static StatType |
RATE
A RATE counter represents a number of occurrences over a time period. |
static StatType |
SCALAR
A SCALAR counter is used when a simple count of events or objects is desired. |
static StatType |
STATIC
A STATIC counter is SCALAR that is used to provide the cumulative value for the life of the counter. |
static StatType |
STRUCTURE
A STRUCTURE StatType is specified when the only purpose of the counter is to build hierarchy for other counters. |
static StatType |
TEXT
A TEXT counter is used for values that do not fit the other types. |
Constructor Summary | |
---|---|
protected |
StatType(java.lang.String n,
int v)
Used for internal testing purposes only. |
Method Summary | |
---|---|
int |
intValue()
Returns this StatType's integer equivalent. |
java.lang.String |
toString()
Returns the name of the StatType. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int iSTRUCTURE
Used for internal testing purposes only.
public static final int iRATE
Used for internal testing purposes only.
public static final int iAVERAGE
Used for internal testing purposes only.
public static final int iRANGE
Used for internal testing purposes only.
public static final int iSCALAR
Used for internal testing purposes only.
public static final int iSTATIC
Used for internal testing purposes only.
public static final int iTEXT
Used for internal testing purposes only.
public static final StatType STRUCTURE
public static final StatType RATE
The value of a RATE counter is modified with the IStat
interface.
A RATE counter is only reported if at least one data point has been submitted in the current reporting interval. When a RATE counter value is reported to the workbench, it is reset to 0. The workbench sums all RATE counters with the same name from all driver computers in a test run and divides by the time interval to produce the final value.
Example, a transaction hit rate is reported via a RATE counter.
public static final StatType AVERAGE
The value of an AVERAGE counter is modified with the IStat
interface.
An AVERAGE counter is only reported if at least one data point has been submitted in the current reporting interval. When an AVERAGE counter value is reported to the workbench, it is reset to 0. The workbench sums all AVERAGE counters with the same name from all driver computers in a test run and calculates the cumulative average to produce the final value.
Example, an HTTP page element response time is reported via an AVERAGE counter.
public static final StatType RANGE
The value of a RANGE counter is modified with the IStat
interface.
A RANGE counter is only reported if at least one data point has been submitted in the current reporting interval. When a RANGE counter value is reported to the workbench, it is reset to 0. The workbench processes all RANGE counters with the same name from all driver computers in a test run and calculates the cumulative average and minimum and maximum to produce the final values.
Example, a transaction elapsed time is reported via a RANGE counter.
public static final StatType SCALAR
The value of a SCALAR counter is modified via the IScalar
interface.
A SCALAR counter is only reported if it has been modified in the current reporting interval. When a SCALAR counter is reported it is reset to 0. The workbench treats unreported SCALAR counters as 0.
public static final StatType STATIC
The value of a STATIC counter is modified with the IScalar
interface.
A STATIC counter is only reported if it has been modified in the current reporting interval. When a STATIC counter is reported it is not reset to 0. The workbench treats unreported STATIC counters as unchanged.
Example, the number of active users is reported via a STATIC.
public static final StatType TEXT
Constructor Detail |
protected StatType(java.lang.String n, int v)
Used for internal testing purposes only. Creates a new StatType.
A StatType is used as an argument to IStatTree
.getStat().
The class that implements IStatTree.getStat() must know what types to expect.
n
- the name of the typev
- the internal integer value assigned to this type.Method Detail |
public int intValue()
Used for internal testing purposes only.
public java.lang.String toString()
Used for internal testing purposes only.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |