@Retention(value=RUNTIME) @Target(value=METHOD) public @interface InvalidateAssignCache
namespace()
:
assignedKey()
key. These annotation is useful when you know that a value has been made stale and you want to
force it to refresh on the next time it is referenced in a ReadThroughAssignCache
method.Modifier and Type | Optional Element and Description |
---|---|
String |
assignedKey
A single key that is invalidate after this method finishes.
|
String |
namespace
A namespace that is added to the key as it is stored in the distributed cache.
|
public abstract String namespace
public abstract String assignedKey
namespace()
value to be used in the distributed cache. This value must be assigned.Copyright © 2019. All rights reserved.