public class StatTasks extends Object
| Constructor and Description |
|---|
StatTasks() |
| Modifier and Type | Method and Description |
|---|---|
static void |
ensureStatIsNonNegative(String archiveID,
String statType,
String statName,
String individStatName,
String statKind)
Check that the given stat is not negative.
|
static void |
ensureTxOccurredTask()
ENDTASK to throw a fit if no transactions occurred.
|
static List<PerfStatValue> |
getStatFromArchive(String archiveID,
String statType,
String statName,
String individStatName,
String statKind)
Retrieve a stat from the archive, for example this is useful for getting min
or max stat values.
|
static void |
validateStats()
Validate stats in each archive in the current test run.
|
public static void ensureTxOccurredTask()
public static List<PerfStatValue> getStatFromArchive(String archiveID, String statType, String statName, String individStatName, String statKind)
archiveID - The identifying name for the archive (currently you cannot specify
a specific archive file); this ID is typically the hydra client name.statType - A stat "Type" from vsdstatName - A stat "Name" from vsdindividStatName - The name of the stat to be obtained from statType.statNamestatKind - A value from StatSpecTokens, such as StatSpecTokens.MIN or StatExpecTokens.MAXpublic static void ensureStatIsNonNegative(String archiveID, String statType, String statName, String individStatName, String statKind)
archiveID - The identifying name for the archive (currently you cannot specify
a specific archive file); this ID is typically the hydra client name.statType - A stat "Type" from vsdstatName - A stat "Name" from vsdindividStatName - The name of the stat to be obtained from statType.statNamestatKind - A value from StatSpecTokens, such as StatSpecTokens.MIN or StatExpecTokens.MAXpublic static void validateStats()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.