‪TYPO3CMS  ‪main
TYPO3\CMS\Core\Cache\Backend\TransientBackendInterface Interface Reference
Inheritance diagram for TYPO3\CMS\Core\Cache\Backend\TransientBackendInterface:
TYPO3\CMS\Core\Cache\Backend\BackendInterface TYPO3\CMS\Core\Cache\Backend\ApcuBackend TYPO3\CMS\Core\Cache\Backend\MemcachedBackend TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend

Additional Inherited Members

- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\BackendInterface
 setCache (FrontendInterface $cache)
 
 set ($entryIdentifier, $data, array $tags=[], $lifetime=null)
 
mixed get ($entryIdentifier)
 
bool has ($entryIdentifier)
 
bool remove ($entryIdentifier)
 
 flush ()
 
 collectGarbage ()
 

Detailed Description

A contract for a cache backends which store variables in volatile memory and as such support receiving any variable type to store.

Note: respect for this contract is up to each individual frontend. The contract can be respected for a small performance boost, but the result is marginal except for cases with huge serialized data sets.

Respected by the VariableFrontend which checks if the backend has this interface, in which case it allows the backend to store the value directly without serializing it to a string, and does not attempt to unserialize the string on every get() request.

Definition at line 32 of file TransientBackendInterface.php.