mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
hoist onStart into correct interface
This commit is contained in:
@@ -82,5 +82,4 @@ public interface OpDispenser<T> extends LongFunction<T>, OpResultTracker {
|
||||
|
||||
T apply(long value);
|
||||
|
||||
void onStart(long cycleValue);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user