@NotThreadSafe public class BlockManagementTaskResult extends Object
BlockManagementTask
.
It contains sub-results for each BlockOperationType
that is issued
by the magement task.Constructor and Description |
---|
BlockManagementTaskResult()
Creates a new empty task result.
|
Modifier and Type | Method and Description |
---|---|
BlockManagementTaskResult |
addOpResults(BlockOperationType opType,
BlockOperationResult result)
Add results for a specific
BlockOperationType . |
BlockOperationResult |
getOperationResult(BlockOperationType opType) |
boolean |
noProgress() |
String |
toString() |
public BlockManagementTaskResult()
public BlockManagementTaskResult addOpResults(BlockOperationType opType, BlockOperationResult result)
BlockOperationType
.
Results will be merged, if this task result contains results for the given operation.opType
- block operation typeresult
- block operation resultpublic BlockOperationResult getOperationResult(BlockOperationType opType)
opType
- block operation typepublic boolean noProgress()
true
if the task had no progress due to failures/back-offsCopyright © 2023. All Rights Reserved.