@Inherited @InterceptorBinding @Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface JsCacheRemove
Modifier and Type | Required Element and Description |
---|---|
Class |
cls |
String |
methodName |
Modifier and Type | Optional Element and Description |
---|---|
String[] |
keys
Rules for parameters about key for cache, separate by coma
The order is important use json notation. {} no values : use no arguments in calculating cache key {'*'} : use all arguments in calculating cache key (default value) {'obj.id'} : mean that for compute the key the value of id from argument named obj will be used. Exemple {"i", "u.id", "f.name"} If the cacheResultKey includes arguments and cacheRemoveKey not, that means that you want to remove all results of this method without considering arguments. |
boolean |
userScope
The remove event is for all user (false) or current user (true)
|
public abstract Class cls
public abstract String methodName
public abstract String[] keys
Copyright © 2016. All rights reserved.