Interface FunctionCacheObserver
public interface FunctionCacheObserver
-
Method Summary
Modifier and TypeMethodDescriptionvoidonCacheLookup(org.aopalliance.intercept.MethodInvocation invocation, MemoiseCacheKey cacheKey, boolean cacheHit, Object cachedValue) Called for each memoisation lookup before returning from the caching interceptor.
-
Method Details
-
onCacheLookup
void onCacheLookup(org.aopalliance.intercept.MethodInvocation invocation, MemoiseCacheKey cacheKey, boolean cacheHit, Object cachedValue) throws Throwable Called for each memoisation lookup before returning from the caching interceptor.- Throws:
Throwable
-