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

com.emc.mongoose.base.load.step.client.LoadStepClient Maven / Gradle / Ivy

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

import com.emc.mongoose.base.load.step.LoadStep;
import java.util.Map;

public interface LoadStepClient extends LoadStep {

	int OUTPUT_PROGRESS_PERIOD_MILLIS = 10_000;

	/**
	 * Configure the step
	 *
	 * @param config a dictionary of the configuration values to override the inherited config
	 * @return new/copied step instance with the applied config values
	 * @throws IllegalStateException if was called after any append(...) call
	 */
	 T config(final Map config)
					throws IllegalStateException;

	/**
	 * Append the load step context. The actual behavior depends on the particular step type
	 *
	 * @param context a dictionary of the additional parameters handled by the particular load step
	 *     implementation
	 * @return new/copied step instance with the appended context
	 */
	 T append(final Map context);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy