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 Details

    • CacheUtils

      public CacheUtils()
  • Method Details

    • 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 and value = depth