
io.narayana.perf.WorkerLifecycle Maven / Gradle / Ivy
/*
Copyright The Narayana Authors
SPDX-License-Identifier: Apache-2.0
*/
package io.narayana.perf;
/**
* Test lifecycle notifications
*
* @param caller specific context data
*/
public interface WorkerLifecycle {
/**
* notify the worker that the test is starting (@link{io.narayana.perf.Measurement#measure})
*/
void init();
/**
* notify the worker that the test has finished
*/
void fini();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy