PHP Class Scalr\System\Zmq\Cron\Task\Rotate

Since: 5.0.1 (27.11.2014)
Author: Vitaliy Demidov ([email protected])
Inheritance: extends Scalr\System\Zmq\Cron\AbstractTask
Show file Open project: scalr/scalr

Public Methods

Method Description
config ( )
enqueue ( )
worker ( $request )

Private Methods

Method Description
rotateBackup ( string $regexp, string $numberBackups = null, string $service = 'adodb' ) Rotates backup for the table using regexp mask
rotateTable ( string $query, array $opt = [], string $service = 'adodb' ) Rotates table by specified query.

Method Details

config() public method

See also: Scalr\System\Zmq\Cron\AbstractTask::config()
public config ( )

enqueue() public method

See also: Scalr\System\Zmq\Cron\TaskInterface::enqueue()
public enqueue ( )

worker() public method

See also: Scalr\System\Zmq\Cron\TaskInterface::worker()
public worker ( $request )