org.springframework.cache.Cache ).
Derives from the CacheAspectSupport class which
contains the integration with Spring's underlying caching API.
CacheInterceptor simply calls the relevant superclass methods
in the correct order.
CacheInterceptors are thread-safe.
| Modifier and Type | Class and Description |
|---|---|
| private static class | CacheInterceptor.KotlinDelegate
Inner class to avoid a hard dependency on Kotlin at runtime. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | invoke(final MethodInvocation
the method invocation joinpoint invocation)Implements org. |
| CacheInterceptor | back to summary |
|---|---|
| public CacheInterceptor() | |
| invoke | back to summary |
|---|---|
| public Object invoke(final MethodInvocation invocation) throws Throwable Implements org. Doc from org. Implement this method to perform extra treatments before and
after the invocation. Polite implementations would certainly
like to invoke
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Publisher |
| KotlinDelegate | back to summary |
|---|---|
| private KotlinDelegate() | |
| invokeSuspendingFunction | back to summary |
|---|---|
| public static Publisher | |