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

com.emc.mongoose.base.item.op.data.DataOperation Maven / Gradle / Ivy

There is a newer version: 4.3.10
Show newest version
package com.emc.mongoose.base.item.op.data;

import com.emc.mongoose.base.item.DataItem;
import com.emc.mongoose.base.item.op.Operation;
import com.github.akurilov.commons.collection.Range;
import java.util.BitSet;
import java.util.List;

/** Created by kurila on 11.07.16. */
public interface DataOperation extends Operation {

	@Override
	I item();

	void markRandomRanges(final int count);

	boolean hasMarkedRanges();

	long markedRangesSize();

	BitSet[] markedRangesMaskPair();

	List fixedRanges();

	int randomRangesCount();

	List srcItemsToConcat();

	int currRangeIdx();

	void currRangeIdx(final int i);

	DataItem currRange();

	DataItem currRangeUpdate();

	long countBytesDone();

	void countBytesDone(long n);

	long respDataTimeStart();

	void startDataResponse() throws IllegalStateException;

	long dataLatency();
}