public interface CacheKeyGenerator
GeneratedCacheKey
based on a CacheKeyInvocationContext
.
Implementations MUST be thread-safe.Modifier and Type | Method and Description |
---|---|
GeneratedCacheKey |
generateCacheKey(CacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext)
Called for each intercepted method invocation to generate a suitable
cache key (as a
GeneratedCacheKey ) from the
CacheKeyInvocationContext data. |
GeneratedCacheKey generateCacheKey(CacheKeyInvocationContext<? extends Annotation> cacheKeyInvocationContext)
GeneratedCacheKey
) from the
CacheKeyInvocationContext
data.cacheKeyInvocationContext
- Information about the intercepted method invocationCopyright © 2013. All Rights Reserved.