public static void evictJapidResultCache(String key) { CacheablePlayActionRunner.deleteCache(key); }
/** * Evict a cached Japid result resulted from a Japid directive <em>invoke<em/>. Can be used in a * controller action to invalidate a cached result after a relevant state has been changed. * * @author Bing Ran ([email protected]) * @param controllerClass the controller class * @param actionName action name * @param args the arguments to the action method. */ public static <C extends JapidController2> void evictJapidResultCache( Class<C> controllerClass, String actionName, Object... args) { CacheablePlayActionRunner.deleteCache(controllerClass, actionName, args); }