Interface CleanupHistory
-
- All Known Subinterfaces:
CleanupHistoryManager
- All Known Implementing Classes:
CleanupHistoryImpl
public interface CleanupHistory
Defines read operations on cleanup history.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<CleanupHistoryRecord>
getCleanupHistory()
The entire cleanup history.CleanupHistoryRecord
getLastCleanupResult()
The last recorded cleanup result.CleanupHistoryRecord
getLastFinishedCleanupResult()
The last finished recorded cleanup result, i.e.CleanupHistoryRecord
getPreviousCleanupResult()
The second recorded cleanup result.
-
-
-
Method Detail
-
getCleanupHistory
@NotNull List<CleanupHistoryRecord> getCleanupHistory()
The entire cleanup history.- Returns:
- collection of cleanup history records
-
getLastCleanupResult
@Nullable CleanupHistoryRecord getLastCleanupResult()
The last recorded cleanup result.- Returns:
- last cleanup result in history if there is one,
null
otherwise
-
getPreviousCleanupResult
@Nullable CleanupHistoryRecord getPreviousCleanupResult()
The second recorded cleanup result.- Returns:
- previous cleanup result in history if there is one,
null
otherwise
-
getLastFinishedCleanupResult
@Nullable CleanupHistoryRecord getLastFinishedCleanupResult()
The last finished recorded cleanup result, i.e. the most recent record with 'finished time'.
-
-