Interface CacheableScriptsRepository
-
- All Known Implementing Classes:
ClasspathScriptsRepository,ModelScriptsRepository,TestClasspathScriptsRepository
public interface CacheableScriptsRepositoryThis interface provides methods for adding cache support for scripts.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CacheKeycreateCacheKey(java.lang.String protocol, java.lang.String path)Creates cache key based on given protocol and script path.ScriptContentlookupScript(CacheKey cacheKey)Lookup for ScriptContent based on the information provided by the CacheKey object.
-
-
-
Method Detail
-
lookupScript
ScriptContent lookupScript(CacheKey cacheKey)
Lookup for ScriptContent based on the information provided by the CacheKey object.
-
createCacheKey
CacheKey createCacheKey(java.lang.String protocol, java.lang.String path)
Creates cache key based on given protocol and script path.
-
-