mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
name default input unambiguously
This commit is contained in:
parent
ab6d0102bd
commit
a7a7ac254c
@ -46,7 +46,7 @@ public class CoreInputDispenser implements InputDispenser, ActivitiesAware {
|
|||||||
|
|
||||||
private synchronized Input createInput(long slot) {
|
private synchronized Input createInput(long slot) {
|
||||||
SimpleConfig conf = new SimpleConfig(activity, "input");
|
SimpleConfig conf = new SimpleConfig(activity, "input");
|
||||||
String inputType = conf.getString("type").orElse("targetrate");
|
String inputType = conf.getString("type").orElse("atomicseq");
|
||||||
InputType inputTypeImpl = InputType.FINDER.getOrThrow(inputType);
|
InputType inputTypeImpl = InputType.FINDER.getOrThrow(inputType);
|
||||||
InputDispenser inputDispenser = inputTypeImpl.getInputDispenser(activity);
|
InputDispenser inputDispenser = inputTypeImpl.getInputDispenser(activity);
|
||||||
if (inputDispenser instanceof ActivitiesAware) {
|
if (inputDispenser instanceof ActivitiesAware) {
|
||||||
|
@ -28,7 +28,7 @@ public class TargetRateInputType implements InputType {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getName() {
|
public String getName() {
|
||||||
return "targetrate";
|
return "atomicseq";
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user