@Retention(value=RUNTIME) @Target(value=METHOD) public @interface UpdateCounterInCache
ReturnDataUpdateContent
or with
value from method parameter annotated with ParameterDataUpdateContent
. The value used to update counter must
be of type int, Integer
, long or Long
.Modifier and Type | Optional Element and Description |
---|---|
int |
expiration
The exp value is passed along to memcached exactly as given, and will be processed per the memcached protocol
specification:
The actual value sent may either be Unix time (number of seconds since January 1, 1970, as a 32-bit value), or a
number of seconds starting from current time.
|
String |
namespace
A namespace that is added to the key as it is stored in the distributed cache.
|
public abstract String namespace
public abstract int expiration
Copyright © 2019. All rights reserved.