Package br.com.caelum.vraptor.actioncache

Examples of br.com.caelum.vraptor.actioncache.CachedMethodExecuted


    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));
View Full Code Here


    super(result);
    this.cachedMethodExecutedEvent = cachedMethodExecutedEvent;
    this.controllerMethod = controllerMethod;
    this.actionCache = actionCache;
    this.requestHeaders = requestHeaders;
    this.cachedMethodExecuted = new CachedMethodExecuted(controllerMethod);
  }
View Full Code Here

    super(result);
    this.cachedMethodExecutedEvent = cachedMethodExecutedEvent;
    this.controllerMethod = controllerMethod;
    this.actionCache = actionCache;
    this.requestHeaders = requestHeaders;
    this.cachedMethodExecuted = new CachedMethodExecuted(controllerMethod);
  }
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.actioncache.CachedMethodExecuted

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.