Class MaintenanceSource


  • public class MaintenanceSource
    extends DowntimeSource
    This class can be used to model scheduled maintenance. Maintenance intervals and duration are modeled using the timeBetweenFailures and timeToRepair settings. The difference to DowntimeSource is that timeBetweenFailures uses the beginning of the last maintenance as the reference, whereas DowntimeSource uses the end of the last downtime.

    A simple example: consider a machine that is going to be down every 24 hours for a duration of 1 hour, i.e., it is available for processing for 23 hours. Using MaintenanceSource, this is modeled setting timeBetweenFailures to 24 hours and using a timeToRepair of 1 hour.

    Author:
    Torsten Hildebrandt
    See Also:
    DowntimeSource