interface ClearableCache (View source)

Interface for cache that can be flushed.

Intended to be used for partial clearing of a cache namespace. For a more global "flushing", see {see FlushableCache}.

Methods

bool
deleteAll()

Deletes all cache entries in the current cache namespace.

Details

bool deleteAll()

Deletes all cache entries in the current cache namespace.

Return Value

bool TRUE if the cache entries were successfully deleted, FALSE otherwise.