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

com.emc.mongoose.base.item.op.composite.CompositeOperation Maven / Gradle / Ivy

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

import com.emc.mongoose.base.item.Item;
import com.emc.mongoose.base.item.op.partial.PartialOperation;
import com.emc.mongoose.base.item.Item;
import com.emc.mongoose.base.item.op.Operation;
import com.emc.mongoose.base.item.op.partial.PartialOperation;
import java.util.List;

/** Created by andrey on 25.11.16. Marker interface */
public interface CompositeOperation extends Operation {

	@Override
	I item();

	String get(final String key);

	void put(final String key, final String value);

	List subOperations();

	/** Should be invoked only after subOperations() * */
	void markSubTaskCompleted();

	boolean allSubOperationsDone();
}