hoist onStart into correct interface

This commit is contained in:
Jonathan Shook
2022-05-31 21:01:56 -05:00
parent 5cfe5e92ce
commit 24308575ee
2 changed files with 1 additions and 1 deletions

View File

@@ -82,5 +82,4 @@ public interface OpDispenser<T> extends LongFunction<T>, OpResultTracker {
T apply(long value);
void onStart(long cycleValue);
}

View File

@@ -17,6 +17,7 @@
package io.nosqlbench.engine.api.activityimpl;
public interface OpResultTracker {
void onStart(long cycleValue);
void onSuccess(long cycleValue, long nanoTime, long resultsize);
void onError(long cycleValue, long resultNanos, Throwable t);
}