‪TYPO3CMS  ‪main
TYPO3\CMS\Core\DependencyInjection\Cache\ContainerBackend Class Reference
Inheritance diagram for TYPO3\CMS\Core\DependencyInjection\Cache\ContainerBackend:
TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend TYPO3\CMS\Core\Cache\Backend\AbstractBackend TYPO3\CMS\Core\Cache\Backend\PhpCapableBackendInterface TYPO3\CMS\Core\Cache\Backend\BackendInterface TYPO3\CMS\Core\Cache\Backend\BackendInterface

Public Member Functions

 flush ()
 
 forceFlush ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend
 setCache (FrontendInterface $cache)
 
 setCacheDirectory ($cacheDirectory)
 
string getCacheDirectory ()
 
 set ($entryIdentifier, $data, array $tags=[], $lifetime=null)
 
mixed get ($entryIdentifier)
 
bool has ($entryIdentifier)
 
bool remove ($entryIdentifier)
 
 collectGarbage ()
 
mixed requireOnce ($entryIdentifier)
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
 __construct ($context, array $options=[])
 
 setDefaultLifetime ($defaultLifetime)
 
 flushByTags (array $tags)
 

Additional Inherited Members

- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend
const SEPARATOR = '^'
 
const EXPIRYTIME_FORMAT = 'YmdHis'
 
const EXPIRYTIME_LENGTH = 14
 
const DATASIZE_DIGITS = 10
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
const DATETIME_EXPIRYTIME_UNLIMITED = '9999-12-31T23:59:59+0000'
 
const UNLIMITED_LIFETIME = 0
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend
 createFinalCacheDirectory ($finalCacheDirectory)
 
bool isCacheFileExpired ($cacheEntryPathAndFilename)
 
mixed findCacheFilesByIdentifier ($entryIdentifier)
 
- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
DateTime calculateExpiryTime ($lifetime=null)
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend
string $cacheDirectory = ''
 
string $temporaryCacheDirectory = ''
 
string $cacheEntryFileExtension = ''
 
array $cacheEntryIdentifiers = array( )
 
bool $frozen = false
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Core\Cache\Backend\AbstractBackend
FrontendInterface $cache
 
string $cacheIdentifier
 
string $context
 
int $defaultLifetime = 3600
 

Detailed Description

Definition at line 25 of file ContainerBackend.php.

Member Function Documentation

◆ flush()

TYPO3\CMS\Core\DependencyInjection\Cache\ContainerBackend::flush ( )

Removes all cache entries of this cache. Flushes a directory by first moving to a temporary resource, and then triggering the remove process. This way directories can be flushed faster to prevent race conditions on concurrent processes accessing the same directory.

Reimplemented from TYPO3\CMS\Core\Cache\Backend\SimpleFileBackend.

Definition at line 27 of file ContainerBackend.php.

◆ forceFlush()

TYPO3\CMS\Core\DependencyInjection\Cache\ContainerBackend::forceFlush ( )

Definition at line 32 of file ContainerBackend.php.