mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
minor docs update
This commit is contained in:
parent
58f11ca1cd
commit
755ea768d5
@ -43,7 +43,6 @@ import java.util.Map;
|
||||
// TODO: add/document max tries exhausted exception
|
||||
// TODO: add/document UnexpectedPagingException
|
||||
// TODO: add/document chnge unapplied exception
|
||||
// TODO: add instrumented metrics
|
||||
// TODO: add total rows metrics
|
||||
// TODO: add rows histogram resultSetSizeHisto
|
||||
|
||||
|
@ -446,6 +446,15 @@ public class ParsedOp implements LongFunction<Map<String, ?>>, StaticFieldReader
|
||||
public <T> T getStaticConfigOr(String name, T defaultValue) {
|
||||
return tmap.getStaticConfigOr(name, defaultValue);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the parameter value from a static op template field OR any of the provided optional sources
|
||||
* of op template values, including the activity parameters
|
||||
* @param name The config field name
|
||||
* @param defaultValue The default value, if the field is not defined in the op template nor the activity params
|
||||
* @param <T> The type of the field
|
||||
* @return The config value.
|
||||
*/
|
||||
public <T> T takeStaticConfigOr(String name, T defaultValue) {
|
||||
return tmap.takeStaticConfigOr(name, defaultValue);
|
||||
}
|
||||
|
@ -12,7 +12,7 @@
|
||||
<artifactId>nbr</artifactId>
|
||||
<packaging>jar</packaging>
|
||||
<name>${project.artifactId}</name>
|
||||
<description>Runbime-Only CLI for nosqlbench</description>
|
||||
<description>Runtime-Only CLI for nosqlbench</description>
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
@ -56,6 +56,12 @@
|
||||
<artifactId>driver-diag</artifactId>
|
||||
<version>4.17.15-SNAPSHOT</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>io.nosqlbench</groupId>
|
||||
<artifactId>adapter-diag</artifactId>
|
||||
<version>4.17.15-SNAPSHOT</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
Loading…
Reference in New Issue
Block a user