Interface UrlCache
- All Known Implementing Classes:
UrlCache.Impl,UrlCache.PassThrough
public interface UrlCache
Cache for URL Generation, or more exactly three Caches for:
- Batches for given included and excluded.
- Legacy resources for given included and excluded.
- Resolved excluded for given include and excluded.
- Since:
- v3.3
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfacestatic classResult of evaluated condition with the condition itself.static classImplementation.static classstatic classstatic classNo caching implementation.static interface -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()getBatches(UrlCache.IncludedExcludedConditionsAndBatchingOptions key, UrlCache.BatchesProvider provider) Get batches for given included and excluded.getResolvedExcluded(UrlCache.IncludedExcludedConditionsAndBatchingOptions key, UrlCache.ResolvedExcludedProvider provider) Get resolved excluded for given include and excluded.
-
Method Details
-
getBatches
CalculatedBatches getBatches(UrlCache.IncludedExcludedConditionsAndBatchingOptions key, UrlCache.BatchesProvider provider) Get batches for given included and excluded.- Returns:
- context batches, web resource batches, resolved excluded resources.
-
getResolvedExcluded
Set<String> getResolvedExcluded(UrlCache.IncludedExcludedConditionsAndBatchingOptions key, UrlCache.ResolvedExcludedProvider provider) Get resolved excluded for given include and excluded.- Returns:
- resolved excluded resources
-
clear
void clear()
-