@Documented @Retention(value=RUNTIME) @Repeatable(value=CacheInvalidateContainer.class) @Target(value=METHOD) public @interface CacheInvalidate
| Modifier and Type | Required Element and Description |
|---|---|
String |
name
The name of this Cache instance which need a remove operation.
|
| Modifier and Type | Optional Element and Description |
|---|---|
String |
area
If you want to use multi backend cache system, you can setup multi "cache area" in configuration,
this attribute specifies the name of the "cache area" you want to use.
|
String |
condition
Expression script used for conditioning the cache operation, the operation is vetoed when evaluation result is false.
|
String |
key
Specify the key by expression script, optional.
|
boolean |
multi
If evaluated key is an array or an instance of java.lang.Iterable,
set multi to true indicates jetcache to invalidate each element of the iterable keys.
|
public abstract String name
public abstract String area
public abstract String key
public abstract String condition
#result in script.Copyright © 2013–2022. All rights reserved.