mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-01-05 13:35:04 -06:00
spacing and typos
This commit is contained in:
parent
a019258b3d
commit
aae973c9dd
@ -46,7 +46,7 @@ import java.util.function.LongFunction;
|
|||||||
public interface OpDispenser<T> extends LongFunction<T> {
|
public interface OpDispenser<T> extends LongFunction<T> {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The apply method in an op dispenser should do all of the work of
|
* The apply method in an op dispenser should do all the work of
|
||||||
* creating an operation that is executable by some other caller.
|
* creating an operation that is executable by some other caller.
|
||||||
* The value produced by the apply method should not require
|
* The value produced by the apply method should not require
|
||||||
* additional processing if a caller wants to execute the operation
|
* additional processing if a caller wants to execute the operation
|
||||||
|
@ -32,6 +32,7 @@ public class StatementsLoader {
|
|||||||
|
|
||||||
private final static Logger logger = LogManager.getLogger(StatementsLoader.class);
|
private final static Logger logger = LogManager.getLogger(StatementsLoader.class);
|
||||||
|
|
||||||
|
|
||||||
public enum Loader {
|
public enum Loader {
|
||||||
original,
|
original,
|
||||||
generified
|
generified
|
||||||
@ -88,7 +89,6 @@ public class StatementsLoader {
|
|||||||
String transformed = transformer.apply(statement);
|
String transformed = transformer.apply(statement);
|
||||||
RawStmtsDocList rawStmtsDocList = RawStmtsDocList.forSingleStatement(transformed);
|
RawStmtsDocList rawStmtsDocList = RawStmtsDocList.forSingleStatement(transformed);
|
||||||
return new StmtsDocList(rawStmtsDocList);
|
return new StmtsDocList(rawStmtsDocList);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public static StmtsDocList loadPath(
|
public static StmtsDocList loadPath(
|
||||||
|
@ -127,7 +127,7 @@ public class DockerMetricsManager {
|
|||||||
List<String> linkNames = new ArrayList();
|
List<String> linkNames = new ArrayList();
|
||||||
dh.startDocker(PROMETHEUS_IMG, tag, name, port, volumeDescList, envList, cmdList, reload, linkNames);
|
dh.startDocker(PROMETHEUS_IMG, tag, name, port, volumeDescList, envList, cmdList, reload, linkNames);
|
||||||
|
|
||||||
logger.info("prometheus started and listenning");
|
logger.info("prometheus started and listening");
|
||||||
}
|
}
|
||||||
|
|
||||||
private String startGraphite() {
|
private String startGraphite() {
|
||||||
@ -187,7 +187,7 @@ public class DockerMetricsManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
volumeDescList.add(mappingPath.toString() + ":/tmp/graphite_mapping.conf");
|
volumeDescList.add(mappingPath + ":/tmp/graphite_mapping.conf");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -8,6 +8,7 @@ import java.util.Map;
|
|||||||
import java.util.Optional;
|
import java.util.Optional;
|
||||||
|
|
||||||
public class NBConfiguration {
|
public class NBConfiguration {
|
||||||
|
|
||||||
private final LinkedHashMap<String, Object> data;
|
private final LinkedHashMap<String, Object> data;
|
||||||
private final NBConfigModel model;
|
private final NBConfigModel model;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user