Getting Collector Information
Getting Collector Information
- abstract public function getCollectorName() — Get a human readable name for what this collector cleans up, like "User Activity Logs".
- public function hasAutomaticPolicy() — Specify that the collector has an automatic retention policy and is not configurable.
- public function getDefaultRetentionPolicy() — Get the default retention policy for this collector.
- public function getRetentionPolicy() — Get the effective retention policy.
- final public function getCollectorConstant() — Get a unique string constant identifying this collector.
Collecting Garbage
Collecting Garbage
- final public function runCollector() — Run the collector.
- abstract protected function collectGarbage() — Collect garbage from whatever source this GC handles.
- final protected function getGarbageEpoch() — Get the most recent epoch timestamp that is considered garbage.
- final public static function getAllCollectors() — Load all of the available garbage collectors.