io.nosqlbench.virtdata.library.basics.shared.stateful.Load Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of driver-cql-shaded Show documentation
Show all versions of driver-cql-shaded Show documentation
A Shaded CQL ActivityType driver for http://nosqlbench.io/
package io.nosqlbench.virtdata.library.basics.shared.stateful;
import io.nosqlbench.virtdata.api.annotations.Categories;
import io.nosqlbench.virtdata.api.annotations.Category;
import io.nosqlbench.virtdata.api.annotations.Example;
import io.nosqlbench.virtdata.api.annotations.ThreadSafeMapper;
import io.nosqlbench.virtdata.library.basics.core.threadstate.SharedState;
import java.util.HashMap;
import java.util.function.Function;
/**
* Load a named value from the per-thread state map.
* The previous input value will be forgotten, and the named value will replace it
* before the next function in the chain.
*/
@ThreadSafeMapper
@Categories({Category.state})
public class Load implements Function
© 2015 - 2025 Weber Informatics LLC | Privacy Policy