io.nosqlbench.engine.api.activityimpl.uniform.StandardActionDispenser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of engine-api Show documentation
Show all versions of engine-api Show documentation
The engine API for nosqlbench;
Provides the interfaces needed to build internal modules for the
nosqlbench core engine
package io.nosqlbench.engine.api.activityimpl.uniform;
import io.nosqlbench.engine.api.activityapi.core.ActionDispenser;
import io.nosqlbench.engine.api.activityapi.core.Activity;
public class StandardActionDispenser implements ActionDispenser {
private final StandardActivity,?> activity;
public StandardActionDispenser(StandardActivity,?> activity) {
this.activity = activity;
}
@Override
public StandardAction,?> getAction(int slot) {
return new StandardAction<>(activity,slot);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy