org.webjars
public static class WebJarExtractor.MemoryCache extends Object implements WebJarExtractor.Cache
| Constructor and Description |
|---|
WebJarExtractor.MemoryCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUpToDate(String key,
WebJarExtractor.Cacheable cacheable)
Whether the file is up to date.
|
void |
put(String key,
WebJarExtractor.Cacheable cacheable)
Put the given file in the cache.
|
public boolean isUpToDate(String key, WebJarExtractor.Cacheable cacheable)
WebJarExtractor.CacheisUpToDate in interface WebJarExtractor.Cachekey - The key to check.cacheable - The cacheable to check.public void put(String key, WebJarExtractor.Cacheable cacheable)
WebJarExtractor.Cacheput in interface WebJarExtractor.Cachekey - The key to put it at.cacheable - The cacheable.Copyright © 2014. All Rights Reserved.