Interface DurationEstimate

  • All Known Subinterfaces:
    TimeEstimate

    public interface DurationEstimate
    Interface for information about an estimated duration.
    • Field Detail

      • VERSIONS_DE

        static final com.redwood.scheduler.infrastructure.logging.Versions VERSIONS_DE
      • SOURCE_KNOWN

        static final int SOURCE_KNOWN
        Estimate is based on completed job information. This means that estimate is not really an estimate but actual known information.
        See Also:
        Constant Field Values
      • SOURCE_ESTIMATE

        static final int SOURCE_ESTIMATE
        Estimate is based on job statistics. This means that the estimate is based on statistics and other predicted information.
        See Also:
        Constant Field Values
      • SOURCE_INCOMPLETE

        static final int SOURCE_INCOMPLETE
        Estimate is based on incomplete information. This means that the estimate is based on incomplete information. As such it is likely to be quite wrong.
        See Also:
        Constant Field Values
    • Method Detail

      • getTimeMillis

        long getTimeMillis()
        Get the value for this estimate.
        Returns:
        the estimate, measured in milliseconds.