Interface CacheableScriptsRepository

All Known Implementing Classes:
ClasspathScriptsRepository, ModelScriptsRepository, TestClasspathScriptsRepository

public interface CacheableScriptsRepository
This interface provides methods for adding cache support for scripts.
  • Method Summary

    Modifier and Type
    Method
    Description
    createCacheKey(String protocol, String path)
    Creates cache key based on given protocol and script path.
    Lookup for ScriptContent based on the information provided by the CacheKey object.
  • Method Details

    • lookupScript

      ScriptContent lookupScript(CacheKey cacheKey)
      Lookup for ScriptContent based on the information provided by the CacheKey object.
    • createCacheKey

      CacheKey createCacheKey(String protocol, String path)
      Creates cache key based on given protocol and script path.