@RegisteredService(value=com.centurylink.mdw.cache.CacheService.class)
public class WebpackCache
extends java.lang.Object
implements com.centurylink.mdw.cache.PreloadableCache
| Constructor and Description |
|---|
WebpackCache() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCache() |
java.io.File |
getCompiled(com.centurylink.mdw.model.asset.AssetInfo asset) |
java.io.File |
getCompiled(com.centurylink.mdw.model.asset.AssetInfo asset,
java.io.File starter)
Starter file will be compiled, but asset used to compute output path.
|
void |
initialize(java.util.Map<java.lang.String,java.lang.String> params) |
void |
loadCache() |
void |
refreshCache() |
public void initialize(java.util.Map<java.lang.String,java.lang.String> params)
initialize in interface com.centurylink.mdw.cache.PreloadableCachepublic void loadCache()
throws com.centurylink.mdw.cache.CachingException
loadCache in interface com.centurylink.mdw.cache.PreloadableCachecom.centurylink.mdw.cache.CachingExceptionpublic void refreshCache()
refreshCache in interface com.centurylink.mdw.cache.CacheServicepublic void clearCache()
clearCache in interface com.centurylink.mdw.cache.CacheServicepublic java.io.File getCompiled(com.centurylink.mdw.model.asset.AssetInfo asset)
throws java.io.IOException,
com.centurylink.mdw.common.service.ServiceException
java.io.IOExceptioncom.centurylink.mdw.common.service.ServiceExceptionpublic java.io.File getCompiled(com.centurylink.mdw.model.asset.AssetInfo asset,
java.io.File starter)
throws java.io.IOException,
com.centurylink.mdw.common.service.ServiceException
java.io.IOExceptioncom.centurylink.mdw.common.service.ServiceException