Changeset View
Changeset View
Standalone View
Standalone View
src/cache/PhutilKeyValueCache.php
| <?php | <?php | ||||
| /** | /** | ||||
| * Interface to a key-value cache like Memcache or APC. This class provides a | * Interface to a key-value cache like Memcache or APC. This class provides a | ||||
| * uniform interface to multiple different key-value caches and integration | * uniform interface to multiple different key-value caches and integration | ||||
| * with PhutilServiceProfiler. | * with PhutilServiceProfiler. | ||||
| * | * | ||||
| * @task kvimpl Key-Value Cache Implementation | * @task kvimpl Key-Value Cache Implementation | ||||
| */ | */ | ||||
| abstract class PhutilKeyValueCache { | abstract class PhutilKeyValueCache extends Phobject { | ||||
| /* -( Key-Value Cache Implementation )------------------------------------- */ | /* -( Key-Value Cache Implementation )------------------------------------- */ | ||||
| /** | /** | ||||
| * Determine if the cache is available. For example, the APC cache tests if | * Determine if the cache is available. For example, the APC cache tests if | ||||
| * APC is installed. If this method returns false, the cache is not | * APC is installed. If this method returns false, the cache is not | ||||
| ▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines | |||||