Interface ScheduleEntryStatistic
public interface ScheduleEntryStatistic
Definition of a statistics container for a scheduled entry.
- Since:
- 4.0
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the average execution time in millisecondslong
Returns the number of executionslong
Returns the last execution time in milliseconds@Nullable Date
Returns the end time of last date thisScheduleEntry
has been executed ornull
if theschedule entry
has never been executed yet.Returns last date thisScheduleEntry
has been executed (start time) ornull
if theschedule entry
has never been executed yet.
-
Method Details
-
getLastExecutionTime
Date getLastExecutionTime()Returns last date thisScheduleEntry
has been executed (start time) ornull
if theschedule entry
has 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 thisScheduleEntry
has been executed ornull
if theschedule entry
has 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
-