‪TYPO3CMS  ‪main
TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask Class Reference
Inheritance diagram for TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask:
TYPO3\CMS\Scheduler\Task\AbstractTask

Public Member Functions

bool execute ()
 
- ‪Public Member Functions inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
 __construct ()
 
string getAdditionalInformation ()
 
 setTaskUid ($id)
 
int getTaskUid ()
 
string getTaskTitle ()
 
string getTaskDescription ()
 
string getTaskClassName ()
 
bool isDisabled ()
 
 setDisabled ($flag)
 
 setRunOnNextCronJob ($flag)
 
bool getRunOnNextCronJob ()
 
 setExecutionTime ($timestamp)
 
int null getTaskGroup ()
 
 setTaskGroup ($taskGroup)
 
int getExecutionTime ()
 
 setDescription ($description)
 
string getDescription ()
 
 setScheduler ()
 
 unsetScheduler ()
 
 registerSingleExecution ($timestamp)
 
 registerRecurringExecution ($start, $interval, $end=0, $multiple=false, $cron_cmd='')
 
 setExecution (Execution $execution)
 
Execution object null getExecution ()
 
int getNextDueExecution ()
 
bool areMultipleExecutionsAllowed ()
 
bool save ()
 
 stop ()
 
int getType ()
 

Public Attributes

array $selectedBackends = array( )
 
- ‪Public Attributes inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
const TYPE_SINGLE = 1
 
const TYPE_RECURRING = 2
 

Additional Inherited Members

- ‪Protected Member Functions inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
 logException (\Exception $e)
 
 getLanguageService ()
 
- ‪Protected Attributes inherited from ‪TYPO3\CMS\Scheduler\Task\AbstractTask
TYPO3 CMS Scheduler Scheduler null $scheduler
 
int $taskUid = 0
 
bool $disabled = false
 
bool $runOnNextCronJob = false
 
Execution $execution
 
int $executionTime = 0
 
string $description = ''
 
int null $taskGroup = 0
 

Detailed Description

Garbage collection of caching framework cache backends.

This task finds all configured caching framework caches and calls the garbage collection of a cache if the cache backend is configured to be cleaned.

This class is a specific scheduler task implementation is not considered part of the Public TYPO3 API.

Definition at line 29 of file CachingFrameworkGarbageCollectionTask.php.

Member Function Documentation

◆ execute()

bool TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask::execute ( )

Execute garbage collection, called by scheduler.

Returns
‪bool

Reimplemented from TYPO3\CMS\Scheduler\Task\AbstractTask.

Definition at line 43 of file CachingFrameworkGarbageCollectionTask.php.

References $GLOBALS.

Member Data Documentation

◆ $selectedBackends

array TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask::$selectedBackends = array( )

Backend types that should be cleaned up, set by additional field provider.

Selected backends to do garbage collection for

Definition at line 36 of file CachingFrameworkGarbageCollectionTask.php.