public class Config extends Object
| Constructor and Description | 
|---|
| Config(Properties props)Create config without algorithm - useful for a programmatic perf test. | 
| Config(Reader algReader)Read both algorithm and config properties. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | get(String name,
   boolean dflt)Return a boolean property. | 
| double | get(String name,
   double dflt)Return a double property. | 
| int | get(String name,
   int dflt)Return an int property. | 
| String | get(String name,
   String dflt)Return a string property. | 
| String | getAlgorithmText() | 
| String | getColsNamesForValsByRound() | 
| String | getColsValuesForValsByRound(int roundNum) | 
| int | getRoundNumber() | 
| int | newRound()Increment the round number, for config values that are extracted by round number. | 
| void | set(String name,
   String value)Set a property. | 
public Config(Reader algReader) throws IOException
algReader - from where to read algorithm and config properties.IOExceptionpublic Config(Properties props)
props - - configuration properties.public String get(String name, String dflt)
name - name of property.dflt - default value.public void set(String name, String value) throws Exception
name - name of property.value - either single or multiple property value (multiple values are separated by ":")Exceptionpublic int get(String name, int dflt)
name - name of propertydflt - default valuepublic double get(String name, double dflt)
name - name of propertydflt - default valuepublic boolean get(String name, boolean dflt)
name - name of propertydflt - default valuepublic int newRound()
public String getColsNamesForValsByRound()
public String getColsValuesForValsByRound(int roundNum)
public int getRoundNumber()
public String getAlgorithmText()