![]() |
TYPO3
7.6
|
Public Member Functions | |
freeze () | |
isFrozen () | |
![]() | |
setCache (\TYPO3\CMS\Core\Cache\Frontend\FrontendInterface $cache) | |
set ($entryIdentifier, $data, array $tags=array(), $lifetime=null) | |
get ($entryIdentifier) | |
has ($entryIdentifier) | |
remove ($entryIdentifier) | |
flush () | |
collectGarbage () | |
A contract for a cache backend which can be frozen.
Definition at line 18 of file FreezableBackendInterface.php.
freeze | ( | ) |
Freezes this cache backend.
All data in a frozen backend remains unchanged and methods which try to add or modify data result in an exception thrown. Possible expiry times of individual cache entries are ignored.
On the positive side, a frozen cache backend is much faster on read access. A frozen backend can only be thawn by calling the flush() method.
Implemented in FileBackend.
isFrozen | ( | ) |