public final class ModelTestIndex extends Object
The test array is immutable, but the statistics may change as new samples are received.
SampleModel.Listener.newTests(java.util.Set<net.grinder.common.Test>, net.grinder.console.model.ModelTestIndex)
Constructor and Description |
---|
ModelTestIndex()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
StatisticsSet |
getCumulativeStatistics(int testIndex)
Get the cumulative test statistics for a given test.
|
StatisticsSet |
getLastSampleStatistics(int testIndex)
Get the last sample statistics for a given test.
|
int |
getNumberOfTests()
Returns the total number of registered tests.
|
Test |
getTest(int testIndex)
Return a specific test by index.
|
public ModelTestIndex()
public int getNumberOfTests()
public Test getTest(int testIndex)
testIndex
- The test index.public StatisticsSet getCumulativeStatistics(int testIndex)
testIndex
- The test index.public StatisticsSet getLastSampleStatistics(int testIndex)
testIndex
- The test index.Copyright © 2000-2014. All Rights Reserved.