Skip to content

Commit e1d71a8

Browse files
committed
Add php class docs
1 parent dc43423 commit e1d71a8

3 files changed

Lines changed: 8 additions & 0 deletions

File tree

wcfsetup/install/files/lib/system/background/job/TolerantCacheRebuildBackgroundJob.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
use wcf\system\cache\tolerant\AbstractTolerantCache;
77

88
/**
9+
* Rebuilds the cache data of a tolerant cache.
10+
*
911
* @author Olaf Braun
1012
* @copyright 2001-2025 WoltLab GmbH
1113
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>

wcfsetup/install/files/lib/system/cache/eager/AbstractEagerCache.class.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
use wcf\util\ClassUtil;
77

88
/**
9+
* Eager caches are caches that do not expire and must be renewed manually if the data in the cache has changed.
10+
*
911
* @author Olaf Braun
1012
* @copyright 2001-2025 WoltLab GmbH
1113
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>

wcfsetup/install/files/lib/system/cache/tolerant/AbstractTolerantCache.class.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@
88
use wcf\util\ClassUtil;
99

1010
/**
11+
* Tolerant caches are caches that are rebuilt in the background when they are about to expire or have already expired.
12+
* The cache data can be outdated, this must not be a problem when using these caches.
13+
* The lifetime MUST BE `>= 300`.
14+
*
1115
* @author Olaf Braun
1216
* @copyright 2001-2025 WoltLab GmbH
1317
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>

0 commit comments

Comments
 (0)