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

cdc.bench.support.BasicBenchExecutor Maven / Gradle / Ivy

There is a newer version: 0.2.1
Show newest version
package cdc.bench.support;

public class BasicBenchExecutor extends AbstractBenchExecutor {
    private boolean cancelled = false;

    public BasicBenchExecutor(Bench bench,
                              BenchSupport.MainArgs margs) {
        super(bench,
              margs);
    }

    @Override
    protected void log(String message) {
        System.out.println(message);
    }

    public void cancel() {
        cancelled = true;
    }

    @Override
    public final boolean isCancelled() {
        return cancelled;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy