mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
remove dead code
This commit is contained in:
parent
0431c4be6e
commit
cbc9e5484f
@ -126,7 +126,6 @@ public abstract class BaseOpDispenser<T extends Op, S> extends NBBaseComponent i
|
||||
Binding variables = new Binding();
|
||||
|
||||
Map<String, ParsedTemplateString> initBlocks = op.getTemplateMap().takeAsNamedTemplates(VERIFIER_INIT);
|
||||
List<CycleFunction<?>> verifierInitFunctions = new ArrayList<>();
|
||||
try {
|
||||
initBlocks.forEach((initName, stringTemplate) -> {
|
||||
GroovyCycleFunction<?> initFunction =
|
||||
|
@ -41,7 +41,6 @@ public class ComponentActivityInstrumentation implements ActivityInstrumentation
|
||||
private NBMetricTimer cyclesServiceTimer;
|
||||
private NBMetricTimer cyclesResponseTimer;
|
||||
private NBMetricCounter pendingOpsCounter;
|
||||
private NBMetricCounter opTrackerBlockedCounter;
|
||||
private NBMetricTimer bindTimer;
|
||||
private NBMetricTimer executeTimer;
|
||||
private NBMetricTimer resultTimer;
|
||||
@ -120,11 +119,6 @@ public class ComponentActivityInstrumentation implements ActivityInstrumentation
|
||||
return pendingOpsCounter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Counter getOrCreateOpTrackerBlockedCounter() {
|
||||
return opTrackerBlockedCounter;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Timer getOrCreateBindTimer() {
|
||||
return bindTimer;
|
||||
|
@ -75,8 +75,6 @@ public class CoreMotor<D> implements ActivityDefObserver, Motor<D>, Stoppable {
|
||||
private int stride = 1;
|
||||
|
||||
private OpTracker<D> opTracker;
|
||||
private Counter optrackerBlockCounter;
|
||||
|
||||
|
||||
/**
|
||||
* Create an ActivityMotor.
|
||||
@ -194,7 +192,6 @@ public class CoreMotor<D> implements ActivityDefObserver, Motor<D>, Stoppable {
|
||||
inputTimer = activity.getInstrumentation().getOrCreateInputTimer();
|
||||
strideServiceTimer = activity.getInstrumentation().getOrCreateStridesServiceTimer();
|
||||
stridesResponseTimer = activity.getInstrumentation().getStridesResponseTimerOrNull();
|
||||
optrackerBlockCounter = activity.getInstrumentation().getOrCreateOpTrackerBlockedCounter();
|
||||
|
||||
strideRateLimiter = activity.getStrideLimiter();
|
||||
cycleRateLimiter = activity.getCycleLimiter();
|
||||
|
@ -48,9 +48,6 @@ import java.util.concurrent.TimeUnit;
|
||||
*/
|
||||
public class StandardAction<A extends StandardActivity<R, ?>, R extends Op> implements SyncAction, ActivityDefObserver {
|
||||
private final static Logger logger = LogManager.getLogger("ACTION");
|
||||
|
||||
private final A activity;
|
||||
private final int slot;
|
||||
private final Timer executeTimer;
|
||||
private final Histogram triesHistogram;
|
||||
private final Timer resultSuccessTimer;
|
||||
@ -62,9 +59,7 @@ public class StandardAction<A extends StandardActivity<R, ?>, R extends Op> impl
|
||||
private final Timer verifierTimer;
|
||||
|
||||
public StandardAction(A activity, int slot) {
|
||||
this.activity = activity;
|
||||
this.opsequence = activity.getOpSequence();
|
||||
this.slot = slot;
|
||||
this.maxTries = activity.getMaxTries();
|
||||
bindTimer = activity.getInstrumentation().getOrCreateBindTimer();
|
||||
executeTimer = activity.getInstrumentation().getOrCreateExecuteTimer();
|
||||
|
Loading…
Reference in New Issue
Block a user