Package org.onosproject.net.flow
Interface BatchOperationResult<T>
-
- All Known Implementing Classes:
CompletedBatchOperation
public interface BatchOperationResult<T>
Interface capturing the result of a batch operation.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<T>
failedItems()
Obtains a set of items which failed.boolean
isSuccess()
Returns whether the operation was successful.
-
-
-
Method Detail
-
isSuccess
boolean isSuccess()
Returns whether the operation was successful.- Returns:
- true if successful, false otherwise
-
failedItems
java.util.Set<T> failedItems()
Obtains a set of items which failed.- Returns:
- a set of failures
-
-