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

com.emc.mongoose.api.model.io.task.data.DataIoTaskBuilder Maven / Gradle / Ivy

There is a newer version: 4.0.0-alpha5
Show newest version
package com.emc.mongoose.api.model.io.task.data;

import com.github.akurilov.commons.collection.Range;
import com.emc.mongoose.api.model.io.task.IoTaskBuilder;
import com.emc.mongoose.api.model.item.DataItem;

import java.util.List;

/**
 Created by kurila on 27.09.16.
 */
public interface DataIoTaskBuilder>
extends IoTaskBuilder {
	
	DataIoTaskBuilder setFixedRanges(final List fixedRanges);

	DataIoTaskBuilder setRandomRangesCount(final int count);

	DataIoTaskBuilder setSizeThreshold(final long sizeThreshold);

	DataIoTaskBuilder setSrcItemsCount(final int min, final int max);

	DataIoTaskBuilder setSrcItemsForConcat(final List items);
	
	List getFixedRanges();
	
	int getRandomRangesCount();
	
	long getSizeThreshold();
}