mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
removed suffix parameter from tcp driver op dispensers (We have string templates to do that now)
This commit is contained in:
@@ -31,7 +31,6 @@ public class TcpClientOpDispenser extends BaseOpDispenser<TcpClientOp, TcpClient
|
||||
this.ctxFunction = ctxfunc;
|
||||
LongFunction<Object> objectFunction = cmd.getAsRequiredFunction("stmt", Object.class);
|
||||
LongFunction<String> stringFunction = l -> objectFunction.apply(l).toString();
|
||||
cmd.enhanceFuncOptionally(stringFunction,"suffix",String.class,(a, b) -> a+b);
|
||||
this.outFunction = stringFunction;
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@ public class TcpServerOpDispenser extends BaseOpDispenser<TcpServerOp,TcpServerA
|
||||
this.ctxFunction = ctxfunc;
|
||||
LongFunction<Object> objectFunction = cmd.getAsRequiredFunction("stmt", Object.class);
|
||||
LongFunction<String> stringFunction = l -> objectFunction.apply(l).toString();
|
||||
cmd.enhanceFuncOptionally(stringFunction,"suffix",String.class,(a, b) -> a+b);
|
||||
this.outFunction = stringFunction;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user