Interface ScheduleEntryStatistic
public interface ScheduleEntryStatistic
Definition of a statistics container for a scheduled entry.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionlongReturns the average execution time in millisecondslongReturns the number of executionslongReturns the last execution time in milliseconds@Nullable DateReturns the end time of last date thisScheduleEntryhas been executed ornullif theschedule entryhas never been executed yet.Returns last date thisScheduleEntryhas been executed (start time) ornullif theschedule entryhas never been executed yet.
-
Method Details
-
getLastExecutionTime
Date getLastExecutionTime()Returns last date thisScheduleEntryhas been executed (start time) ornullif theschedule entryhas never been executed yet.- Returns:
- the last execution start time or
null - Since:
- 4.0
- See Also:
-
getLastExecutionEndTime
Returns the end time of last date thisScheduleEntryhas been executed ornullif theschedule entryhas never been executed yet.- Returns:
- the last execution end time or
null - Since:
- 4.0
- See Also:
-
getLastDuration
long getLastDuration()Returns the last execution time in milliseconds- Since:
- 4.0
-
getExecutionCount
long getExecutionCount()Returns the number of executions- Since:
- 4.0
-
getAverageDuration
long getAverageDuration()Returns the average execution time in milliseconds- Since:
- 4.0
-