Changeset View
Changeset View
Standalone View
Standalone View
src/applications/diviner/cache/DivinerAtomCache.php
| Show All 12 Lines | final class DivinerAtomCache extends DivinerDiskCache { | ||||
| private $writeAtoms = array(); | private $writeAtoms = array(); | ||||
| public function __construct($cache_directory) { | public function __construct($cache_directory) { | ||||
| return parent::__construct($cache_directory, 'diviner-atom-cache'); | return parent::__construct($cache_directory, 'diviner-atom-cache'); | ||||
| } | } | ||||
| public function delete() { | public function delete() { | ||||
| parent::delete(); | parent::delete(); | ||||
| $this->fileHashMap = null; | $this->fileHashMap = null; | ||||
| $this->atomMap = null; | $this->atomMap = null; | ||||
| $this->atoms = array(); | $this->atoms = array(); | ||||
| return $this; | return $this; | ||||
| } | } | ||||
| /* -( File Hash Map )------------------------------------------------------ */ | /* -( File Hash Map )------------------------------------------------------ */ | ||||
| ▲ Show 20 Lines • Show All 204 Lines • Show Last 20 Lines | |||||