| 1 |
<?php |
| 2 |
|
| 3 |
if (!defined('ABSPATH')) { |
| 4 |
exit; |
| 5 |
} |
| 6 |
|
| 7 |
/** |
| 8 |
* Cron / runtime hooks around the hits-table lifecycle: existence probe, |
| 9 |
* rebuild scheduling, and min/max log IDs used by drift checks. |
| 10 |
*/ |
| 11 |
interface ABJ_404_Solution_LogHitsLifecycleInterface { |
| 12 |
|
| 13 |
/** @return bool */ |
| 14 |
public function logsHitsTableExists(); |
| 15 |
|
| 16 |
/** @return void */ |
| 17 |
public function scheduleHitsTableRebuild(): void; |
| 18 |
|
| 19 |
/** @return int */ |
| 20 |
public function getMaxLogId(); |
| 21 |
|
| 22 |
/** @return int */ |
| 23 |
public function getMinLogId(); |
| 24 |
|
| 25 |
/** @return int */ |
| 26 |
public function getStoredMaxLogId(); |
| 27 |
|
| 28 |
/** @return int|null */ |
| 29 |
public function getLogsHitsTableLastScheduledAt(); |
| 30 |
} |
| 31 |
|