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

io.nosqlbench.driver.pulsar.ops.SyncPulsarOp Maven / Gradle / Ivy

Go to download

A Pulsar driver for nosqlbench. This provides the ability to inject synthetic data into a pulsar system.

There is a newer version: 4.15.102
Show newest version
package io.nosqlbench.driver.pulsar.ops;

/**
 * Base type of all Sync Pulsar Operations including Producers and Consumers.
 */
public abstract class SyncPulsarOp implements PulsarOp {

    public void run(Runnable timeTracker) {
        try {
            this.run();
        } finally {
            timeTracker.run();
        }
    }

    public abstract void run();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy