[ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 347 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
getNamespace() X-Ref |
newStackFromCaches(array $caches) X-Ref |
No description |
getImmutableCache() X-Ref |
Gets an immutable cache stack. This stack trades mutability away for improved performance. Normally, it is APC + DB. In the general case with multiple web frontends, this stack can not be cleared, so it is only appropriate for use if the value of a given key is permanent and immutable. return: PhutilKeyValueCacheStack Best immutable stack available. |
buildImmutableCaches() X-Ref |
Build the immutable cache stack. return: list<PhutilKeyValueCache> List of caches. |
getRepositoryGraphL1Cache() X-Ref |
No description |
buildRepositoryGraphL1Caches() X-Ref |
No description |
getRepositoryGraphL2Cache() X-Ref |
No description |
buildRepositoryGraphL2Caches() X-Ref |
No description |
getSetupCache() X-Ref |
Highly specialized cache for performing setup checks. We use this cache to determine if we need to run expensive setup checks when the page loads. Without it, we would need to run these checks every time. Normally, this cache is just APC. In the absence of APC, this cache degrades into a slow, quirky on-disk cache. NOTE: Do not use this cache for anything else! It is not a general-purpose cache! return: PhutilKeyValueCacheStack Most qualified available cache stack. |
buildSetupCaches() X-Ref |
getSetupCacheDiskCachePath() X-Ref |
testTemporaryDirectory($dir) X-Ref |
addProfilerToCaches(array $caches) X-Ref |
No description |
addNamespaceToCaches(array $caches) X-Ref |
No description |
maybeDeflateData($value) X-Ref |
Deflate a value, if deflation is available and has an impact. If the value is larger than 1KB, we have `gzdeflate()`, we successfully can deflate it, and it benefits from deflation, we deflate it. Otherwise we leave it as-is. Data can later be inflated with @{method:inflateData}. param: string String to attempt to deflate. return: string|null Deflated string, or null if it was not deflated. |
inflateData($value) X-Ref |
Inflate data previously deflated by @{method:maybeDeflateData}. param: string Deflated data, from @{method:maybeDeflateData}. return: string Original, uncompressed data. |
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |