Class CacheEvictKey
-
- All Implemented Interfaces:
public class CacheEvictKeyCan evict multiple keys, evict all (if empty) Non-thread-safe on write
- Since:
2022-04-18
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public static volatile KeyGeneratorKeyGeneratorpublic List<Object>keys
-
Constructor Summary
Constructors Constructor Description CacheEvictKey()
-
Method Summary
Modifier and Type Method Description List<Object>getKeys()voidsetKeys(List<Object> keys)ObjectgetKey()get key, compatible with non-wings style final CacheEvictKeyadd(Object target, Method method, Array<Object> arg)add key by #KeyGenerator CacheEvictKeyadd(Array<Object> arg)add key by SimpleKeyGenerator -
-
Method Detail
-
add
@Contract(value = "_->this") final CacheEvictKey add(Object target, Method method, Array<Object> arg)
add key by #KeyGenerator
-
add
@Contract(value = "_->this") CacheEvictKey add(Array<Object> arg)
add key by SimpleKeyGenerator
-
-
-
-