this.actionCache = actionCache;
this.requestHeaders = requestHeaders;
}
public <ParamterType> void execute(Runnable runnable) {
CachedMethodExecuted cachedMethodExecuted = new CachedMethodExecuted(controllerMethod);
Cached cached = cachedMethodExecuted.getCached();
if (cached == null) {
runnable.run();
return;
}
ActionCacheEntry body = actionCache.fetch(new CacheKey(cached, requestHeaders));