Class CacheEvictMultiKeys
-
- All Implemented Interfaces:
public class CacheEvictMultiKeysCan evict single key, multiple keys, all keys, or skip. Non-thread-safe on write
- Since:
2022-04-18
trydofor
-
-
Field Summary
Fields Modifier and Type Field Description public final static CacheEvictMultiKeysEvictAllpublic static volatile booleanwingsSupportpublic List<Object>evictKey
-
Constructor Summary
Constructors Constructor Description CacheEvictMultiKeys()CacheEvictMultiKeys(boolean all)CacheEvictMultiKeys(boolean all, List<Object> keys)
-
Method Summary
Modifier and Type Method Description List<Object>getEvictKey()voidsetEvictKey(List<Object> evictKey)ObjectgetKey()get key, compatible with non-wings style CacheEvictMultiKeysaddKey(Array<Object> arg)booleanisEvictAll()voidsetEvictAll(boolean evictAll)-
-
Method Detail
-
getEvictKey
List<Object> getEvictKey()
-
setEvictKey
void setEvictKey(List<Object> evictKey)
-
addKey
@Contract(value = "_->this") CacheEvictMultiKeys addKey(Array<Object> arg)
-
isEvictAll
boolean isEvictAll()
-
setEvictAll
void setEvictAll(boolean evictAll)
-
-
-
-