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

com.emc.mongoose.base.load.step.local.context.LoadStepContext Maven / Gradle / Ivy

There is a newer version: 4.3.10
Show newest version
package com.emc.mongoose.base.load.step.local.context;

import com.emc.mongoose.base.concurrent.Daemon;
import com.emc.mongoose.base.item.Item;
import com.emc.mongoose.base.item.op.Operation;
import com.github.akurilov.commons.concurrent.AsyncRunnable;
import com.github.akurilov.commons.io.Input;
import com.github.akurilov.commons.io.Output;
import java.io.IOException;

/** Created on 11.07.16. */
public interface LoadStepContext> extends Daemon, Output {

	void operationsResultsOutput(final Output opsResultsOutput);

	void operationsMetricsOutput(final Output opsMetricsOutput);

	int activeOpCount();

	boolean isDone();

	default Input getInput() {
		throw new AssertionError("Shouldn't be invoked");
	}

	@Override
	AsyncRunnable stop();

	@Override
	void close() throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy