You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Definition: public static function Cleanup($maxage, $limit)
Returns: void
Parameters:
string $maxage Age string like '30 day' or '1 year'
int $limit Maximum number of entries to delete
Drop
INTERNAL Drops a previously started request from the DB (discaroding it)
Finish
INTERNAL Finishes a previously started request
GetTableName
IMPLEMENTS Model::GetTableName()
onBeforeOptimize
May be overridden by subclasses to perform additional actions before the table is optimized.
Definition: protected static function onBeforeOptimize(DataSource $ds, $tablename)
Returns: bool
Parameters:
\ScavixWDF\Model\DataSource $ds The datasource instance used
mixed $tablename The name of the table to be processed
Optimize
Optimizes the requests table.
Optimization will be done by renaming the table, optimizing that new table and then renaming it back.
Of there's a new table created in the meantime, if will be renamed before and it's data will be integrated.