P
- type of ParameterProvider's parameterpublic interface CachingStrategy<P>
Modifier and Type | Method and Description |
---|---|
String |
getCachePath(ImageGenerator<ParameterProvider<P>> generator,
ParameterProvider<P> parameterProvider)
Returns a unique path pertinent to the given generator and parameter to use for storing
the generated image.
|
boolean |
shouldRegenerate(info.magnolia.cms.core.NodeData cachedBinary,
ParameterProvider<P> parameterProvider)
Given the currently cached generated image, determine if CachingImageStreamer should
regenerate the image.
|
String getCachePath(ImageGenerator<ParameterProvider<P>> generator, ParameterProvider<P> parameterProvider)
boolean shouldRegenerate(info.magnolia.cms.core.NodeData cachedBinary, ParameterProvider<P> parameterProvider)
Copyright © 2015 Magnolia International Ltd.. All rights reserved.