@Slf4j @CompileStatic final class MissingCacheReporter extends java.lang.Object
Reports a cache the cache manager does not have, for the code the cache annotations generate.
A cache manager answers null for a name it has no cache of, as JCacheCacheManager does
for a cache it was not configured with. The annotated method then runs as it does without a cache
manager, and this says so once for each cache manager and name. A cache manager is told apart from
another by its identity, as two may be equal, and is not kept from being collected.
| Type Params | Return Type | Name and description |
|---|---|---|
|
static void |
report(CacheManager cacheManager, java.lang.String cacheName, java.lang.Class<?> owner)
|
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
cacheManager - the cache manager without the cachecacheName - the name the annotation givesowner - the class of the annotated method