Package org.craftercms.engine.util
Class CacheUtils
- java.lang.Object
-
- org.craftercms.engine.util.CacheUtils
-
public class CacheUtils extends Object
Utility methods of cache related operations.- Since:
- 3.1.4
- Author:
- avasquez
-
-
Constructor Summary
Constructors Constructor Description CacheUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Map<String,Integer>
parsePreloadFoldersList(String[] preloadFolders)
Parses a list of preloaded folder paths and their depths, in the following format: {PATH}:{DEPTH}
-
-
-
Method Detail
-
parsePreloadFoldersList
public static Map<String,Integer> parsePreloadFoldersList(String[] preloadFolders)
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
-
-