TYPO3 CMS  TYPO3_7-6
TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask Class Reference
Inheritance diagram for TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask:
TYPO3\CMS\Scheduler\Task\AbstractTask

Public Member Functions

 execute ()
 
- Public Member Functions inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
 __construct ()
 
 execute ()
 
 getAdditionalInformation ()
 
 setTaskUid ($id)
 
 getTaskUid ()
 
 getTaskTitle ()
 
 getTaskDescription ()
 
 getTaskClassName ()
 
 isDisabled ()
 
 setDisabled ($flag)
 
 setExecutionTime ($timestamp)
 
 getTaskGroup ()
 
 setTaskGroup ($taskGroup)
 
 getExecutionTime ()
 
 setDescription ($description)
 
 getDescription ()
 
 setScheduler ()
 
 unsetScheduler ()
 
 setExecution (\TYPO3\CMS\Scheduler\Execution $execution)
 
 getExecution ()
 
 getNextDueExecution ()
 
 areMultipleExecutionsAllowed ()
 
 isExecutionRunning ()
 
 markExecution ()
 
 unmarkExecution ($executionID, \Exception $failure=null)
 
 unmarkAllExecutions ()
 
 save ()
 
 stop ()
 
 remove ()
 
 getType ()
 

Public Attributes

 $selectedBackends = []
 
- Public Attributes inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
const TYPE_SINGLE = 1
 
const TYPE_RECURRING = 2
 

Additional Inherited Members

- Protected Attributes inherited from TYPO3\CMS\Scheduler\Task\AbstractTask
 $scheduler
 
 $taskUid
 
 $disabled = false
 
 $execution
 
 $executionTime = 0
 
 $description = ''
 
 $taskGroup
 

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.

Definition at line 24 of file CachingFrameworkGarbageCollectionTask.php.

Member Function Documentation

◆ execute()

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

Execute garbage collection, called by scheduler.

Returns
bool

Definition at line 39 of file CachingFrameworkGarbageCollectionTask.php.

References $GLOBALS, and TYPO3\CMS\Core\Utility\GeneralUtility\makeInstance().

Member Data Documentation

◆ $selectedBackends

TYPO3\CMS\Scheduler\Task\CachingFrameworkGarbageCollectionTask::$selectedBackends = []

Definition at line 32 of file CachingFrameworkGarbageCollectionTask.php.