|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IStatTree
The IStatTree interface is common to all statistical counters.
All counters in the statistics counter tree are capable of being parents of other counters.
Method Summary | |
---|---|
com.ibm.rational.test.lt.kernel.statistics.impl.Average |
getAverage(String name)
Retrieves a child Average counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Average |
getAverage(String[] path)
Retrieves a child Average counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Distribution |
getDistribution(String name)
Retrieves a child Distribution counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Distribution |
getDistribution(String[] path)
Retrieves a child Distribution counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Range |
getRange(String name)
Retrieves a child Range counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Range |
getRange(String[] path)
Retrieves a child Range counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Rate |
getRate(String name)
Retrieves a child Rate counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Rate |
getRate(String[] path)
Retrieves a child Rate counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Scalar |
getScalar(String name)
Retrieves a child Scalar counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Scalar |
getScalar(String[] path)
Retrieves a child Scalar counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.StatTree |
getStat(String n,
StatType type)
Retrieves a child counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Static |
getStatic(String name)
Retrieves a child Static counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Static |
getStatic(String[] path)
Retrieves a child Static counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.StatTree |
getStructure(String name)
Retrieves a child Structure counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.StatTree |
getStructure(String[] path)
Retrieves a child Structure counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Text |
getText(String name)
Retrieves a child Text counter. |
com.ibm.rational.test.lt.kernel.statistics.impl.Text |
getText(String[] path)
Retrieves a child Text counter. |
IVerificationPoint |
getVerificationPoint(String n)
Retrieves a child VerificationPoint counter. |
IVerificationPoint |
getVerificationPoint(String[] path)
Retrieves a child VerificationPoint counter. |
String |
makeDefinition()
Creates the XML fragments that define this counter. |
String |
makeObservation(long time)
Creates the XML fragments that constitute a sample for this counter. |
void |
setDescription(String desc)
Sets the description field of the counter. |
Method Detail |
---|
void setDescription(String desc)
desc
- the description string.com.ibm.rational.test.lt.kernel.statistics.impl.StatTree getStat(String n, StatType type)
All counters are created by getStat()
. If a child counter of the same name and type
(StatType
already exists,
a reference to the existing counter is returned. Otherwise, a child counter is created.
n
- The name of the desired counter.type
- The type of the desired counter.
com.ibm.rational.test.lt.kernel.statistics.impl.StatTree getStructure(String name)
Uses getStat()
to find or create a Structure counter of the given name.
name
- The name of the desired Structure counter.
com.ibm.rational.test.lt.kernel.statistics.impl.StatTree getStructure(String[] path)
Uses getStat()
to find or create a Structure counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method will be type STRUCTURE.
path
- The path to the desired Structure counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Text getText(String name)
Uses getStat()
to find or create a Text counter of the given name.
name
- The name of the desired Text counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Text getText(String[] path)
Uses getStat()
to find or create a Text counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired Text counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Static getStatic(String name)
Uses getStat()
to find or create a Static counter of the given name.
name
- The name of the desired Static counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Static getStatic(String[] path)
Uses getStat()
to find or create a Static counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Scalar getScalar(String name)
Uses getStat()
to find or create a Scalar counter of the given name.
name
- The name of the desired Scalar counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Scalar getScalar(String[] path)
Uses getStat()
to find or create a Scalar counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired Scalar counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Rate getRate(String name)
Uses getStat()
to find or create a Rate counter of the given name.
name
- The name of the desired Rate counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Rate getRate(String[] path)
Uses getStat()
to find or create a Rate counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired Rate counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Average getAverage(String name)
Uses getStat()
to find or create a Average counter of the given name.
name
- The name of the desired Average counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Average getAverage(String[] path)
Uses getStat()
to find or create a Average counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired Average counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Range getRange(String name)
Uses getStat()
to find or create a Range counter of the given name.
name
- The name of the desired Range counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Range getRange(String[] path)
Uses getStat()
to find or create a Range counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired Range counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Distribution getDistribution(String name)
Uses getStat()
to find or create a Distribution counter of the given name.
name
- The name of the desired Distribution counter.
com.ibm.rational.test.lt.kernel.statistics.impl.Distribution getDistribution(String[] path)
Uses getStat()
to find or create a Distribution counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired Distribution counter.
IVerificationPoint getVerificationPoint(String n)
Uses getStat()
to find or create a VerificationPoint counter of the given name.
name
- The name of the desired VerificationPoint counter.
IVerificationPoint getVerificationPoint(String[] path)
Uses getStat()
to find or create a VerificationPoint counter of the given path.
The path is relative to this
. Each element of the path array specifies one
level in the statistics tree hierarchy.
All counters along the path that do not already exist will be created.
All counters that are created by this method except the last element of path
will be type STRUCTURE.
path
- The path to the desired VerificationPoint counter.
String makeDefinition()
Used for internal testing purposes only.
String makeObservation(long time)
Used for internal testing purposes only.
time
- The timestamp of the sample
|
IBM Rational Performance Tester TES | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |