![JAR search and dependency download from the Maven repository](/logo.png)
com.fillumina.performance.producer.DefaultInstrumenterPerformanceProducer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of performance-tools Show documentation
Show all versions of performance-tools Show documentation
Configurable tool to easily compare performances of different code
snippets and to take performance telemetry of a running application.
The newest version!
package com.fillumina.performance.producer;
/**
*
* @author Francesco Illuminati
*/
public class DefaultInstrumenterPerformanceProducer
>
extends AbstractPerformanceProducer
implements PerformanceExecutorInstrumenter {
private static final long serialVersionUID = 1L;
/*
* Using a delegate to not duplicate
* {@link DefaultPerformanceExecutorInstrumenter}'s code.
*/
private DefaultPerformanceExecutorInstrumenter delegate
= new DefaultPerformanceExecutorInstrumenter<>();
@Override
public DefaultInstrumenterPerformanceProducer instrument(
final InstrumentablePerformanceExecutor> performanceExecutor) {
delegate.instrument(performanceExecutor);
return this;
}
/** @return the embedded {@link InstrumentablePerformanceExecutor}. */
public InstrumentablePerformanceExecutor> getPerformanceExecutor() {
return delegate.getPerformanceExecutor();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy