All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.nosqlbench.engine.api.activityimpl.uniform.StandardActionDispenser Maven / Gradle / Ivy

Go to download

The engine API for nosqlbench; Provides the interfaces needed to build internal modules for the nosqlbench core engine

There is a newer version: 5.17.0
Show newest version
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