public static class WebJarExtractor.MemoryCache extends Object implements WebJarExtractor.Cache
Constructor and Description |
---|
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.Cache
isUpToDate
in interface WebJarExtractor.Cache
key
- The key to check.cacheable
- The cacheable to check.public void put(String key, WebJarExtractor.Cacheable cacheable)
WebJarExtractor.Cache
put
in interface WebJarExtractor.Cache
key
- The key to put it at.cacheable
- The cacheable.Copyright © 2018. All rights reserved.