Interface IProcessingUnitProgress
-
- All Known Subinterfaces:
IProcessingUnitUpdateProgress
- All Known Implementing Classes:
ProcessingUnitProgress
public interface IProcessingUnitProgressDefines the processing unit progress.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetNumberOfFailedUnits()Gets the number of failed units.longgetNumberOfProcessedUnits()Gets the number of processed units (failed units included).longgetNumberOfSuccessfulUnits()Gets the number of successful units.longgetNumberOfUnitsToProcess()Get the number of units to process in total.longgetNumberOfUnprocessedUnits()Get the number of unprocessed units.ProcessingRuntimeStatusgetProcessingRuntimeStatus()The overall processing runtime status.IProcessingUnitStatisticgetProcessingUnitStatistic()Get the processing unit statisticintgetProgress()Get the progress in percentage
-
-
-
Method Detail
-
getNumberOfUnitsToProcess
long getNumberOfUnitsToProcess()
Get the number of units to process in total.- Returns:
- the number of units to process in total.
-
getNumberOfUnprocessedUnits
long getNumberOfUnprocessedUnits()
Get the number of unprocessed units. It's calculated by the number of units to process minus the number of processed units.- Returns:
- the number of unprocessed units.
-
getNumberOfProcessedUnits
long getNumberOfProcessedUnits()
Gets the number of processed units (failed units included).- Returns:
- the number of processed units (failed units included).
-
getNumberOfSuccessfulUnits
long getNumberOfSuccessfulUnits()
Gets the number of successful units. It's calculated by the number of units to process minus the failed units.- Returns:
- the number of successful units.
-
getNumberOfFailedUnits
long getNumberOfFailedUnits()
Gets the number of failed units.- Returns:
- the number of failed units.
-
getProgress
int getProgress()
Get the progress in percentage- Returns:
- the progress
-
getProcessingRuntimeStatus
ProcessingRuntimeStatus getProcessingRuntimeStatus()
The overall processing runtime status.- Returns:
- the processing status type.
-
getProcessingUnitStatistic
IProcessingUnitStatistic getProcessingUnitStatistic()
Get the processing unit statistic- Returns:
- the processing unit statistic
-
-