blob: 33f1845593b63a9a7c8448ae2a7c4e5582929658 [file] [log] [blame]
package org.onlab.onos.net.flow;
import java.util.Set;
/**
* Interface capturing the result of a batch operation.
*
*/
public interface BatchOperationResult<T> {
/**
* Returns whether the operation was successful.
* @return true if successful, false otherwise
*/
boolean isSuccess();
/**
* Obtains a set of items which failed.
* @return a set of failures
*/
Set<T> failedItems();
}