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

cdc.perfs.runtime.RuntimeDumbProbe Maven / Gradle / Ivy

There is a newer version: 0.52.0
Show newest version
package cdc.perfs.runtime;

import cdc.perfs.api.MeasureLevel;
import cdc.perfs.core.SourceImpl;

/**
 * Implementation of Probe that does nothing.
 *
 * @author Damien Carbonne
 *
 */
final class RuntimeDumbProbe extends AbstractRuntimeProbe {
    RuntimeDumbProbe(SourceImpl source,
                     MeasureLevel level) {
        super(source, level);
    }

    @Override
    public boolean isEnabled() {
        return false;
    }

    @Override
    public void start(String details) {
        // Ignore
    }

    @Override
    public void start() {
        // Ignore
    }

    @Override
    public void restart(String details) {
        // Ignore
    }

    @Override
    public void restart() {
        // Ignore
    }

    @Override
    public void stop() {
        // Ignore
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy