public interface IStatTree
All counters in the statistics counter tree are capable of being parents of other counters.
ICounterNode| Modifier and Type | Method and Description |
|---|---|
IStat |
getAverage(String name)
Deprecated.
|
IStat |
getAverage(String[] path)
Deprecated.
|
IStat |
getDistribution(String name)
Deprecated.
|
IStat |
getDistribution(String[] path)
Deprecated.
|
IStat |
getRange(String name)
Deprecated.
|
IStat |
getRange(String[] path)
Deprecated.
|
com.ibm.rational.test.lt.kernel.statistics.IRate |
getRate(String name)
Deprecated.
|
com.ibm.rational.test.lt.kernel.statistics.IRate |
getRate(String[] path)
Deprecated.
|
IScalar |
getScalar(String name)
Deprecated.
|
IScalar |
getScalar(String[] path)
Deprecated.
|
IStatTree |
getStat(String n,
StatType type)
Deprecated.
|
IScalar |
getStatic(String name)
Deprecated.
|
IScalar |
getStatic(String[] path)
Deprecated.
|
IStatTree |
getStructure(String name)
Deprecated.
|
IStatTree |
getStructure(String[] path)
Deprecated.
|
IText |
getText(String name)
Deprecated.
|
IText |
getText(String[] path)
Deprecated.
|
IVerificationPoint |
getVerificationPoint(String n)
Deprecated.
|
IVerificationPoint |
getVerificationPoint(String[] path)
Deprecated.
|
int |
getVersion()
Deprecated.
Returns the statistics engine version.
|
String |
makeDefinition()
Deprecated.
This method returns null in the new framework.
|
String |
makeObservation(long time)
Deprecated.
This method returns null in the new framework.
|
void |
setDescription(String desc)
Deprecated.
|
void setDescription(String desc)
This method has no effect in the new framework.
desc - the description string.IStatTree 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.ICounterNode#getNode(String, com.ibm.rational.test.lt.execution.stats.descriptor.definition.CounterType)IStatTree getStructure(String name)
Uses getStat() to find or create a Structure counter of the given name.
name - The name of the desired Structure counter.ICounterNode.getFolder(String)IStatTree 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.ICounterNode.getFolder(String)IText getText(String name)
Uses getStat() to find or create a Text counter of the given name.
name - The name of the desired Text counter.ICounterNode.getTextCounter(String)IText 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.ICounterNode.getTextCounter(String)IScalar getStatic(String name)
Uses getStat() to find or create a Static counter of the given name.
name - The name of the desired Static counter.ICounterNode.getCountCounter(String),
ICounterNode.getIncrementCounter(String)IScalar 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.ICounterNode.getCountCounter(String),
ICounterNode.getIncrementCounter(String)IScalar getScalar(String name)
Uses getStat() to find or create a Scalar counter of the given name.
name - The name of the desired Scalar counter.ICounterNode.getCountCounter(String),
ICounterNode.getIncrementCounter(String)IScalar 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.ICounterNode.getCountCounter(String),
ICounterNode.getIncrementCounter(String)com.ibm.rational.test.lt.kernel.statistics.IRate getRate(String name)
Uses getStat() to find or create a Rate counter of the given name.
name - The name of the desired Rate counter.ICounterNode.getCountCounter(String),
ICounterNode.getIncrementCounter(String),
ICounterNode.getValueCounter(String)com.ibm.rational.test.lt.kernel.statistics.IRate 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.ICounterNode.getCountCounter(String),
ICounterNode.getIncrementCounter(String),
ICounterNode.getValueCounter(String)IStat getAverage(String name)
Uses getStat() to find or create a Average counter of the given name.
name - The name of the desired Average counter.ICounterNode.getValueCounter(String)IStat 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.ICounterNode.getValueCounter(String)IStat getRange(String name)
Uses getStat() to find or create a Range counter of the given name.
name - The name of the desired Range counter.ICounterNode.getValueCounter(String)IStat 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.ICounterNode.getValueCounter(String)IStat getDistribution(String name)
Uses getStat() to find or create a Distribution counter of the given name.
name - The name of the desired Distribution counter.ICounterNode.getValueCounter(String)IStat 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.ICounterNode.getValueCounter(String)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 sampleint getVersion()
© Copyright IBM Corp. 2016. All rights reserved.