.

ReschedulerDiehard1 Class Reference

Run several times. More...

Inheritance diagram for ReschedulerDiehard1:
ReschedulerBase IRescheduler

List of all members.

Protected Member Functions

  get_schedules ()
  Returns all schedules for this policy as array.

Detailed Description

Run several times.

Definition at line 7 of file diehard1.rescheduler.php.


Member Function Documentation

ReschedulerDiehard1::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 diehard1.rescheduler.php.

00015                                            {
00016                 return array(
00017                         0 => 2 * GyroDate::ONE_MINUTE,
00018                         1 => 15 * GyroDate::ONE_MINUTE,
00019                         2 => 30 * GyroDate::ONE_MINUTE,
00020                         3 => 1 * GyroDate::ONE_HOUR,
00021                         4 => 2 * GyroDate::ONE_HOUR,
00022                         5 => 3 * GyroDate::ONE_HOUR,
00023                         6 => 6 * GyroDate::ONE_HOUR,
00024                         7 => 12 * GyroDate::ONE_HOUR,
00025                 );
00026         }

The documentation for this class was generated from the following file: