Differences Between: [Versions 402 and 403]
(no description)
File Size: | 103 lines (4 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
CachingStrategyFactory:: (3 methods):
__construct()
createBestCachingStrategy()
isInMemoryStrategyUsageSafe()
Class: CachingStrategyFactory - X-Ref
__construct(MemoryLimit $memoryLimit) X-Ref |
No description |
createBestCachingStrategy(?int $sharedStringsUniqueCount, string $tempFolder) X-Ref |
Returns the best caching strategy, given the number of unique shared strings and the amount of memory available. param: null|int $sharedStringsUniqueCount Number of unique shared strings (NULL if unknown) param: string $tempFolder Temporary folder where the temporary files to store shared strings will be stored return: CachingStrategyInterface The best caching strategy |
isInMemoryStrategyUsageSafe(?int $sharedStringsUniqueCount) X-Ref |
Returns whether it is safe to use in-memory caching, given the number of unique shared strings and the amount of memory available. param: null|int $sharedStringsUniqueCount Number of unique shared strings (NULL if unknown) |