public interface CacheKeyGenerator
GeneratedCacheKey
based on
a CacheKeyInvocationContext
.
Implementations must be thread-safe.
Modifier and Type | Method | 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 © 2017. All rights reserved.