Interface IProcessingProgress
-
- All Known Implementing Classes:
ProcessingProgress
public interface IProcessingProgressDefines the processing 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.IProcessingStatisticgetProcesingStatistic()The processing statistic.ProcessingRuntimeStatusgetProcessingRuntimeStatus()The processing runtime status which covers the overall statusjava.lang.StringgetProcessingStatusMessage()Returns the current processing status messagevoidresetProcessingStatusMessage()Reset the processing status message.
-
-
-
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.- 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.- Returns:
- the number of successful units.
-
getNumberOfFailedUnits
long getNumberOfFailedUnits()
Gets the number of failed units.- Returns:
- the number of failed units.
-
getProcessingRuntimeStatus
ProcessingRuntimeStatus getProcessingRuntimeStatus()
The processing runtime status which covers the overall status- Returns:
- the processing status type.
-
getProcessingStatusMessage
java.lang.String getProcessingStatusMessage()
Returns the current processing status message- Returns:
- the current processing status message
-
resetProcessingStatusMessage
void resetProcessingStatusMessage()
Reset the processing status message. This will be called before the processUnit call
-
getProcesingStatistic
IProcessingStatistic getProcesingStatistic()
The processing statistic.- Returns:
- the processing statistic.
-
-