ReschedulerDiehard3 Class Reference
Run twice. More...
Inheritance diagram for
ReschedulerDiehard3:
Protected Member Functions |
|
get_schedules () | |
Returns all schedules for this policy as
array. |
Detailed Description
Run twice.
Definition at line 7 of file diehard3.rescheduler.php.
Member Function Documentation
ReschedulerDiehard3::get_schedules | ( | ) | [protected] |
Returns all schedules for this policy as array.
Array index is number of runs done, value is the difference to last run in seconds
- Returns:
- array
Reimplemented from ReschedulerBase.
Definition at line 15 of file diehard3.rescheduler.php.
00015 { 00016 return array( 00017 0 => 2 * GyroDate::ONE_MINUTE, 00018 1 => 2 * GyroDate::ONE_MINUTE, 00019 2 => 3 * GyroDate::ONE_MINUTE, 00020 3 => 4 * GyroDate::ONE_MINUTE, 00021 4 => 6 * GyroDate::ONE_MINUTE, 00022 5 => 10 * GyroDate::ONE_MINUTE, 00023 6 => 15 * GyroDate::ONE_MINUTE, 00024 7 => 30 * GyroDate::ONE_MINUTE, 00025 8 => 1 * GyroDate::ONE_HOUR, 00026 9 => 2 * GyroDate::ONE_HOUR, 00027 10 => 4 * GyroDate::ONE_HOUR, 00028 11 => 8 * GyroDate::ONE_HOUR, 00029 12 => 12 * GyroDate::ONE_HOUR, 00030 13 => 24 * GyroDate::ONE_HOUR, 00031 12 => 48 * GyroDate::ONE_HOUR, 00032 ); 00033 }
The documentation for this class was generated from the following file:
- contributions/scheduler/behaviour/scheduler/diehard3.rescheduler.php