@Retention(value=RUNTIME) @Target(value=METHOD) public @interface CacheInvalidateAll
CacheInvalidateAll
is invoked, Quarkus will remove all entries from the cache.
You can only use one of the cache operations (and this annotation) on a given method: CacheResult
,
CacheInvalidate
or CacheInvalidateAll
.
The underlying caching provider can be chosen and configured in the Quarkus application.properties
file.
public abstract String cacheName
Copyright © 2020 JBoss by Red Hat. All rights reserved.