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

com.emc.mongoose.api.model.io.task.composite.CompositeIoTask Maven / Gradle / Ivy

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

import com.emc.mongoose.api.model.io.task.IoTask;
import com.emc.mongoose.api.model.io.task.partial.PartialIoTask;
import com.emc.mongoose.api.model.item.Item;

import java.util.List;

/**
 Created by andrey on 25.11.16.
 Marker interface
 */
public interface CompositeIoTask
extends IoTask {
	
	@Override
	I getItem();
	
	String get(final String key);

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

	List getSubTasks();

	/** Should be invoked only after getSubTasks() **/
	void subTaskCompleted();

	boolean allSubTasksDone();
}