프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$clock | |||
$comparer | |||
$isEnabled | |||
$queue |
메소드 | 설명 | |
---|---|---|
__construct ( integer $initialClock, callable $comparer ) | ||
getClock ( ) | ||
getNext ( ) | ||
now ( ) | ||
schedule ( callable $action, $delay ) | ||
scheduleAbsolute ( $dueTime, $action ) | ||
scheduleAbsoluteWithState ( $state, $dueTime, callable $action ) | ||
schedulePeriodic ( callable $action, $delay, $period ) | ||
scheduleRecursive ( callable $action ) | ||
scheduleRelativeWithState ( $state, $dueTime, $action ) | ||
start ( ) |
public __construct ( integer $initialClock, callable $comparer ) | ||
$initialClock | integer | Initial value for the clock. |
$comparer | callable | Comparer to determine causality of events based on absolute time. |
public scheduleAbsoluteWithState ( $state, $dueTime, callable $action ) | ||
$action | callable |
public schedulePeriodic ( callable $action, $delay, $period ) | ||
$action | callable |