Package org.craftercms.engine.util
Class CacheUtils
java.lang.Object
org.craftercms.engine.util.CacheUtils
Utility methods of cache related operations.
- Since:
- 3.1.4
- Author:
- avasquez
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionparsePreloadFoldersList
(String[] preloadFolders) Parses a list of preloaded folder paths and their depths, in the following format: {PATH}:{DEPTH}
-
Constructor Details
-
CacheUtils
public CacheUtils()
-
-
Method Details
-
parsePreloadFoldersList
Parses a list of preloaded folder paths and their depths, in the following format: {PATH}:{DEPTH}- Parameters:
preloadFolders
- the list of folder paths to preload- Returns:
- a map with
key = preload path
andvalue = depth
-