@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface CacheUpdate
| Modifier and Type | Required Element and Description |
|---|---|
String |
name
The name of this Cache instance which need a update operation.
|
String |
value
Specify the cache value by expression script.
|
| 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 both evaluated key and value are array or instance of java.lang.Iterable,
set multi to true indicates jetcache to update K/V pair to cache instead of update single converted K/V.
|
public abstract String name
public abstract String value
public abstract String area
public abstract String key
public abstract String condition
#result in script.Copyright © 2013–2022. All rights reserved.