Page MenuHomePhabricator Dev
Diviner Phabricator Tech Docs MetaMTAMailReceivedGarbageCollector

final class MetaMTAMailReceivedGarbageCollector
Phabricator Technical Documentation (MetaMTA)

This class is not documented.

Tasks

Getting Collector Information

  • public function hasAutomaticPolicy() — Specify that the collector has an automatic retention policy and is not configurable.
  • public function getRetentionPolicy() — Get the effective retention policy.
  • final public function getCollectorConstant() — Get a unique string constant identifying this collector.

Collecting Garbage

  • final public function runCollector() — Run the collector.
  • protected function collectGarbage()
  • 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.

Other Methods

Methods

public function hasAutomaticPolicy()
Inherited

PhabricatorGarbageCollector

Specify that the collector has an automatic retention policy and is not configurable.

Return
boolTrue if the collector has an automatic retention policy.

public function getRetentionPolicy()
Inherited

PhabricatorGarbageCollector

Get the effective retention policy.

Return
int|nullLifetime, or `null` for indefinite retention.

final public function getCollectorConstant()
Inherited

PhabricatorGarbageCollector

Get a unique string constant identifying this collector.

Return
stringCollector constant.

final public function runCollector()
Inherited

PhabricatorGarbageCollector

Run the collector.

Return
boolTrue if there is more garbage to collect.

protected function collectGarbage()

PhabricatorGarbageCollector

Collect garbage from whatever source this GC handles.

MetaMTAMailReceivedGarbageCollector
This method is not documented.
Return
boolTrue if there is more garbage to collect.

final protected function getGarbageEpoch()
Inherited

PhabricatorGarbageCollector

Get the most recent epoch timestamp that is considered garbage.

Records older than this should be collected.

Return
intMost recent garbage timestamp.

final public static function getAllCollectors()
Inherited

PhabricatorGarbageCollector

Load all of the available garbage collectors.

Return
list<PhabricatorGarbageCollector>Garbage collectors.

public function getCollectorName()

This method is not documented.
Return
wild

public function getDefaultRetentionPolicy()

This method is not documented.
Return
wild