A C D E G H I J K O P R S T V Z 
All Classes All Packages

A

AbstractMapBasedSyncCache<C extends java.util.Map<java.lang.Object,​java.lang.Object>> - Class in io.micronaut.cache
Abstract SyncCache implementation that relies on a cache object that implements the Map interface.
AbstractMapBasedSyncCache(ConversionService<?>, C) - Constructor for class io.micronaut.cache.AbstractMapBasedSyncCache
 
all() - Method in annotation type io.micronaut.cache.annotation.CacheInvalidate
 
async() - Method in annotation type io.micronaut.cache.annotation.CacheInvalidate
Whether the cache operation should be performed asynchronously and not block the returning value.
async() - Method in annotation type io.micronaut.cache.annotation.CachePut
Whether the CachePut operation should be performed asynchronously and not block the returning value
async() - Method in interface io.micronaut.cache.SyncCache
This method returns an async version of this cache interface implementation.
AsyncCache<C> - Interface in io.micronaut.cache
A cache implementation that supports async non-blocking caching operations.
AsyncCacheErrorHandler - Class in io.micronaut.cache
Async error handler that simply logs errors.
AsyncCacheErrorHandler() - Constructor for class io.micronaut.cache.AsyncCacheErrorHandler
 
atomic() - Method in annotation type io.micronaut.cache.annotation.Cacheable
Whether an atomic operation should be attempted to retrieve the cache value.

C

Cache<C> - Interface in io.micronaut.cache
Base cache interface implemented by both SyncCache and AsyncCache.
CACHE_NAME - Static variable in class io.micronaut.cache.discovery.DiscoveryClientCacheConfiguration
The prefix to use for all discovery client settings.
Cacheable - Annotation Type in io.micronaut.cache.annotation
An annotation that can be applied at the type or method level to indicate that the return value of the method should be cached for the configured Cacheable.cacheNames().
CacheAnnotation - Annotation Type in io.micronaut.cache.annotation
Meta annotation to mark cache operations.
CacheConfig - Annotation Type in io.micronaut.cache.annotation
An annotation that can be used on either a type or an annotation stereotype to configure common caching behaviour.
CacheConfiguration - Class in io.micronaut.cache
A base configuration class for configuring caches.
CacheConfiguration(String, ApplicationConfiguration) - Constructor for class io.micronaut.cache.CacheConfiguration
Creates a new cache with the given name.
CacheErrorHandler - Interface in io.micronaut.cache
An interface for handling cache errors.
CacheInfo - Interface in io.micronaut.cache
Provides information about the state of the cache.
CacheInterceptor - Class in io.micronaut.cache.interceptor
An AOP MethodInterceptor implementation for the Cache annotations Cacheable, CachePut and CacheInvalidate.
CacheInterceptor(CacheManager, CacheErrorHandler, AsyncCacheErrorHandler, ExecutorService, BeanContext) - Constructor for class io.micronaut.cache.interceptor.CacheInterceptor
Create Cache Interceptor with given arguments.
CacheInvalidate - Annotation Type in io.micronaut.cache.annotation
An annotation that can be applied at the type or method level to indicate that the annotated operation should cause the eviction of the given caches.
CacheKeyGenerator - Interface in io.micronaut.cache.interceptor
An interface for generating keys used by Cacheable.
CacheManager<C> - Interface in io.micronaut.cache
Simple CacheManager interface for managing caches.
cacheNames() - Method in annotation type io.micronaut.cache.annotation.Cacheable
cacheNames() - Method in annotation type io.micronaut.cache.annotation.CacheConfig
Specifies one or many cache names to store cache operation values in.
cacheNames() - Method in annotation type io.micronaut.cache.annotation.CacheInvalidate
cacheNames() - Method in annotation type io.micronaut.cache.annotation.CachePut
CachePut - Annotation Type in io.micronaut.cache.annotation
An annotation that can be applied at the type or method level to indicate that the annotated operation should cause the return value to be cached within the given cache name.
CacheSystemException - Exception in io.micronaut.cache.exceptions
An exception that occurs when an internal cache system error occurs.
CacheSystemException(String) - Constructor for exception io.micronaut.cache.exceptions.CacheSystemException
Constructs a new CacheSystem exception with the specified detail message.
CacheSystemException(String, Throwable) - Constructor for exception io.micronaut.cache.exceptions.CacheSystemException
Constructs a new CacheSystem exception with the specified detail message and cause.
CachingCompositeDiscoveryClient - Class in io.micronaut.cache.discovery
Replaces the default DefaultCompositeDiscoveryClient with one that caches the return values.
CachingCompositeDiscoveryClient(DiscoveryClient[]) - Constructor for class io.micronaut.cache.discovery.CachingCompositeDiscoveryClient
 
charset - Variable in class io.micronaut.cache.CacheConfiguration
 

D

DEFAULT_ENABLED - Static variable in class io.micronaut.cache.discovery.DiscoveryClientCacheConfiguration
The default enable value.
DEFAULT_RECORD_STATS - Static variable in class io.micronaut.cache.CacheConfiguration
The default record stats value.
DEFAULT_TESTMODE - Static variable in class io.micronaut.cache.CacheConfiguration
The default test mode value.
DefaultCacheErrorHandler - Class in io.micronaut.cache
Default implementation of CacheErrorHandler.
DefaultCacheErrorHandler() - Constructor for class io.micronaut.cache.DefaultCacheErrorHandler
 
DefaultCacheKeyGenerator - Class in io.micronaut.cache.interceptor
A default implementation of the CacheKeyGenerator interface that uses the parameters of the method only.
DefaultCacheKeyGenerator() - Constructor for class io.micronaut.cache.interceptor.DefaultCacheKeyGenerator
 
DefaultCacheManager<C> - Class in io.micronaut.cache
Default implementation of the CacheManager interface.
DefaultCacheManager(SyncCache<C>...) - Constructor for class io.micronaut.cache.DefaultCacheManager
Create default cache manager for the given caches.
DefaultCacheManager(List<SyncCache<C>>, BeanProvider<DynamicCacheManager<C>>) - Constructor for class io.micronaut.cache.DefaultCacheManager
Create default cache manager for the given caches.
DefaultStringKeySerializer - Class in io.micronaut.cache.serialize
The default key serializer used by caches that require serializing the keys as strings.
DefaultStringKeySerializer(String, Charset, ConversionService<?>) - Constructor for class io.micronaut.cache.serialize.DefaultStringKeySerializer
Construct a default serializer for given parameters.
DelegatingAsyncBlockingCache<C> - Class in io.micronaut.cache
Transforms a synchronous cache into one that meets the asynchronous contract while still running operations on the same thread.
DelegatingAsyncBlockingCache(SyncCache<C>) - Constructor for class io.micronaut.cache.DelegatingAsyncBlockingCache
 
DelegatingAsyncCache<C> - Class in io.micronaut.cache
An asynchronous cache that delegates blocking cache operations to the provided executor.
DelegatingAsyncCache(SyncCache<C>, ExecutorService) - Constructor for class io.micronaut.cache.DelegatingAsyncCache
 
deserialize(InputStream, Class<T>) - Method in class io.micronaut.cache.serialize.DefaultStringKeySerializer
 
DiscoveryClientCacheConfiguration - Class in io.micronaut.cache.discovery
A cache configuration for the Discovery client cache.
DiscoveryClientCacheConfiguration(ApplicationConfiguration) - Constructor for class io.micronaut.cache.discovery.DiscoveryClientCacheConfiguration
 
doContextProceed(MethodInvocationContext) - Method in class io.micronaut.cache.interceptor.CacheInterceptor
 
DynamicCacheManager<C> - Interface in io.micronaut.cache
A contract for a cache manager that does not have pre-defined caches.

E

equals(Object) - Method in class io.micronaut.cache.interceptor.ParametersKey
 

G

generateKey(AnnotationMetadata, Object...) - Method in interface io.micronaut.cache.interceptor.CacheKeyGenerator
Generate a key for the given annotated element and parameters.
generateKey(AnnotationMetadata, Object...) - Method in class io.micronaut.cache.interceptor.DefaultCacheKeyGenerator
 
generateKey(AnnotationMetadata, Object...) - Method in class io.micronaut.cache.interceptor.KotlinSuspendFunCacheKeyGenerator
 
get() - Method in interface io.micronaut.cache.CacheInfo
A publisher that emits a single result containing the cache data.
get(Object, Argument<T>) - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
get(Object, Argument<T>) - Method in interface io.micronaut.cache.AsyncCache
Resolve the given value for the given key.
get(Object, Argument<T>) - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
get(Object, Argument<T>) - Method in class io.micronaut.cache.DelegatingAsyncCache
 
get(Object, Argument<T>) - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
get(Object, Argument<T>) - Method in interface io.micronaut.cache.SyncCache
Resolve the given value for the given key.
get(Object, Argument<T>, Supplier<T>) - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
get(Object, Argument<T>, Supplier<T>) - Method in interface io.micronaut.cache.AsyncCache
Resolve the given value for the given key.
get(Object, Argument<T>, Supplier<T>) - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
get(Object, Argument<T>, Supplier<T>) - Method in class io.micronaut.cache.DelegatingAsyncCache
 
get(Object, Argument<T>, Supplier<T>) - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
get(Object, Argument<T>, Supplier<T>) - Method in interface io.micronaut.cache.SyncCache
Resolve the given value for the given key.
get(Object, Class<T>) - Method in interface io.micronaut.cache.AsyncCache
Resolve the given value for the given key.
get(Object, Class<T>) - Method in interface io.micronaut.cache.SyncCache
Resolve the given value for the given key.
get(Object, Class<T>, Supplier<T>) - Method in interface io.micronaut.cache.AsyncCache
Resolve the given value for the given key.
get(Object, Class<T>, Supplier<T>) - Method in interface io.micronaut.cache.SyncCache
Resolve the given value for the given key.
getCache(String) - Method in interface io.micronaut.cache.CacheManager
Retrieve a cache for the given name.
getCache(String) - Method in class io.micronaut.cache.DefaultCacheManager
 
getCache(String) - Method in interface io.micronaut.cache.DynamicCacheManager
Retrieve a cache for the given name.
getCache(String) - Method in class io.micronaut.cache.jcache.JCacheManager
 
getCacheInfo() - Method in interface io.micronaut.cache.Cache
 
getCacheManager() - Method in class io.micronaut.cache.jcache.JCacheManager
 
getCacheName() - Method in class io.micronaut.cache.CacheConfiguration
 
getCacheNames() - Method in interface io.micronaut.cache.CacheManager
 
getCacheNames() - Method in class io.micronaut.cache.DefaultCacheManager
 
getCacheNames() - Method in class io.micronaut.cache.jcache.JCacheManager
 
getCharset() - Method in class io.micronaut.cache.CacheConfiguration
 
getConversionService() - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
getExecutorService() - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
getExecutorService() - Method in interface io.micronaut.cache.SyncCache
 
getExpireAfterAccess() - Method in class io.micronaut.cache.CacheConfiguration
Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last read.
getExpireAfterWrite() - Method in class io.micronaut.cache.CacheConfiguration
 
getInitialCapacity() - Method in class io.micronaut.cache.CacheConfiguration
 
getInstances(String) - Method in class io.micronaut.cache.discovery.CachingCompositeDiscoveryClient
 
getMaximumSize() - Method in class io.micronaut.cache.CacheConfiguration
 
getMaximumWeight() - Method in class io.micronaut.cache.CacheConfiguration
 
getName() - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
getName() - Method in interface io.micronaut.cache.Cache
 
getName() - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
getName() - Method in class io.micronaut.cache.DelegatingAsyncCache
 
getName() - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
getNativeCache() - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
getNativeCache() - Method in interface io.micronaut.cache.Cache
 
getNativeCache() - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
getNativeCache() - Method in class io.micronaut.cache.DelegatingAsyncCache
 
getNativeCache() - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
getOrder() - Method in class io.micronaut.cache.interceptor.CacheInterceptor
 
getServiceIds() - Method in class io.micronaut.cache.discovery.CachingCompositeDiscoveryClient
 

H

handleInvalidateError(Cache<?>, Object, RuntimeException) - Method in class io.micronaut.cache.AsyncCacheErrorHandler
 
handleInvalidateError(Cache<?>, Object, RuntimeException) - Method in interface io.micronaut.cache.CacheErrorHandler
Handles a cache CacheInvalidate error.
handleInvalidateError(Cache<?>, RuntimeException) - Method in class io.micronaut.cache.AsyncCacheErrorHandler
 
handleInvalidateError(Cache<?>, RuntimeException) - Method in interface io.micronaut.cache.CacheErrorHandler
Handles a cache CacheInvalidate error.
handleLoadError(Cache<?>, Object, RuntimeException) - Method in interface io.micronaut.cache.CacheErrorHandler
Handles an error loading a value from the cache via Cacheable.
handlePutError(Cache<?>, Object, Object, RuntimeException) - Method in class io.micronaut.cache.AsyncCacheErrorHandler
 
handlePutError(Cache<?>, Object, Object, RuntimeException) - Method in interface io.micronaut.cache.CacheErrorHandler
Handles a cache CachePut error.
hashCode() - Method in class io.micronaut.cache.interceptor.ParametersKey
 

I

intercept(MethodInvocationContext<Object, Object>) - Method in class io.micronaut.cache.interceptor.CacheInterceptor
 
interceptAsCompletableFuture(MethodInvocationContext<Object, Object>, Supplier<CompletionStage<?>>, ReturnType<?>, Argument<?>) - Method in class io.micronaut.cache.interceptor.CacheInterceptor
Intercept the async method invocation.
interceptSync(MethodInvocationContext, ReturnType<?>) - Method in class io.micronaut.cache.interceptor.CacheInterceptor
Intercept the annotated method invocation with sync.
invalidate(Object) - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
invalidate(Object) - Method in interface io.micronaut.cache.AsyncCache
Invalidate the value for the given key.
invalidate(Object) - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
invalidate(Object) - Method in class io.micronaut.cache.DelegatingAsyncCache
 
invalidate(Object) - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
invalidate(Object) - Method in interface io.micronaut.cache.SyncCache
Invalidate the value for the given key.
invalidateAll() - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
invalidateAll() - Method in interface io.micronaut.cache.AsyncCache
Invalidate all cached values within this cache.
invalidateAll() - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
invalidateAll() - Method in class io.micronaut.cache.DelegatingAsyncCache
 
invalidateAll() - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
invalidateAll() - Method in interface io.micronaut.cache.SyncCache
Invalidate all cached values within this cache.
invalidateOperations(ExecutableMethod<?, ?>) - Method in class io.micronaut.cache.interceptor.CacheInterceptor
Evict from the cache.
InvalidateOperations - Annotation Type in io.micronaut.cache.annotation
Allows for repeated annotations of the type CacheInvalidate.
io.micronaut.cache - package io.micronaut.cache
Contains cache interfaces and implementations in Micronaut.
io.micronaut.cache.annotation - package io.micronaut.cache.annotation
Contains cache annotations in Micronaut.
io.micronaut.cache.discovery - package io.micronaut.cache.discovery
Caches related to the discovery client.
io.micronaut.cache.exceptions - package io.micronaut.cache.exceptions
Contains cache exceptions.
io.micronaut.cache.interceptor - package io.micronaut.cache.interceptor
Contains cache interceptors in Micronaut.
io.micronaut.cache.jcache - package io.micronaut.cache.jcache
Contains integration with JCache managers.
io.micronaut.cache.jcache.metrics - package io.micronaut.cache.jcache.metrics
 
io.micronaut.cache.serialize - package io.micronaut.cache.serialize
Contains cache serializers in Micronaut.
isEnabled() - Method in class io.micronaut.cache.discovery.DiscoveryClientCacheConfiguration
Default value (true).
isRecordStats() - Method in class io.micronaut.cache.CacheConfiguration
Some caches support recording statistics.
isTestMode() - Method in class io.micronaut.cache.CacheConfiguration
Some caches have a test mode.

J

JCACHE_ENABLED - Static variable in class io.micronaut.cache.jcache.JCacheManager
Whether JCache integration is enabled.
JCacheManager - Class in io.micronaut.cache.jcache
Adapter for JCache.
JCacheManager(CacheManager, ExecutorService, ConversionService<?>) - Constructor for class io.micronaut.cache.jcache.JCacheManager
Default constructor.
JCacheMetricsBinder - Class in io.micronaut.cache.jcache.metrics
Instruments the active JCache manager.
JCacheMetricsBinder(BeanProvider<MeterRegistry>) - Constructor for class io.micronaut.cache.jcache.metrics.JCacheMetricsBinder
Default constructor.
JCacheSyncCache - Class in io.micronaut.cache.jcache
An implementation of SyncCache for JCache.
JCacheSyncCache(Cache<?, ?>, ConversionService<?>, ExecutorService) - Constructor for class io.micronaut.cache.jcache.JCacheSyncCache
Default constructor.

K

keyGenerator() - Method in annotation type io.micronaut.cache.annotation.Cacheable
keyGenerator() - Method in annotation type io.micronaut.cache.annotation.CacheConfig
 
keyGenerator() - Method in annotation type io.micronaut.cache.annotation.CacheInvalidate
keyGenerator() - Method in annotation type io.micronaut.cache.annotation.CachePut
KotlinSuspendFunCacheKeyGenerator - Class in io.micronaut.cache.interceptor
An implementation of the CacheKeyGenerator which works exactly like DefaultCacheKeyGenerator but drops the last parameter.
KotlinSuspendFunCacheKeyGenerator() - Constructor for class io.micronaut.cache.interceptor.KotlinSuspendFunCacheKeyGenerator
 

O

onCreated(BeanCreatedEvent<CacheManager>) - Method in class io.micronaut.cache.jcache.metrics.JCacheMetricsBinder
 

P

parameters() - Method in annotation type io.micronaut.cache.annotation.Cacheable
Limit the automatic CacheKeyGenerator to the given parameter names.
parameters() - Method in annotation type io.micronaut.cache.annotation.CacheInvalidate
Limit the automatic CacheKeyGenerator to the given parameter names.
parameters() - Method in annotation type io.micronaut.cache.annotation.CachePut
Limit the automatic CacheKeyGenerator to the given parameter names.
ParametersKey - Class in io.micronaut.cache.interceptor
A key that uses the parameters of a method.
ParametersKey(Object...) - Constructor for class io.micronaut.cache.interceptor.ParametersKey
 
POSITION - Static variable in class io.micronaut.cache.interceptor.CacheInterceptor
The position on the interceptor in the chain.
PREFIX - Static variable in class io.micronaut.cache.CacheConfiguration
The prefix for cache configuration.
put(Object, Object) - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
put(Object, Object) - Method in interface io.micronaut.cache.AsyncCache
Cache the specified value using the specified key.
put(Object, Object) - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
put(Object, Object) - Method in class io.micronaut.cache.DelegatingAsyncCache
 
put(Object, Object) - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
put(Object, Object) - Method in interface io.micronaut.cache.SyncCache
Cache the specified value using the specified key.
putIfAbsent(Object, Supplier<T>) - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
putIfAbsent(Object, Supplier<T>) - Method in interface io.micronaut.cache.SyncCache
Cache the supplied value using the specified key if it is not already present.
putIfAbsent(Object, T) - Method in class io.micronaut.cache.AbstractMapBasedSyncCache
 
putIfAbsent(Object, T) - Method in interface io.micronaut.cache.AsyncCache
Cache the specified value using the specified key if it is not already present.
putIfAbsent(Object, T) - Method in class io.micronaut.cache.DelegatingAsyncBlockingCache
 
putIfAbsent(Object, T) - Method in class io.micronaut.cache.DelegatingAsyncCache
 
putIfAbsent(Object, T) - Method in class io.micronaut.cache.jcache.JCacheSyncCache
 
putIfAbsent(Object, T) - Method in interface io.micronaut.cache.SyncCache
Cache the specified value using the specified key if it is not already present.
putOperations(ExecutableMethod<?, ?>) - Method in class io.micronaut.cache.interceptor.CacheInterceptor
Saving inside the cache.
PutOperations - Annotation Type in io.micronaut.cache.annotation
Allows for repeated annotations of the type CachePut.

R

resolveKeyGenerator(Class<? extends CacheKeyGenerator>) - Method in class io.micronaut.cache.interceptor.CacheInterceptor
Resolve the cache key generator from the give type.

S

serialize(Object) - Method in class io.micronaut.cache.serialize.DefaultStringKeySerializer
 
serialize(Object, OutputStream) - Method in class io.micronaut.cache.serialize.DefaultStringKeySerializer
 
setCharset(Charset) - Method in class io.micronaut.cache.CacheConfiguration
 
setEnabled(boolean) - Method in class io.micronaut.cache.discovery.DiscoveryClientCacheConfiguration
 
setExpireAfterAccess(Duration) - Method in class io.micronaut.cache.CacheConfiguration
 
setExpireAfterWrite(Duration) - Method in class io.micronaut.cache.CacheConfiguration
 
setInitialCapacity(Integer) - Method in class io.micronaut.cache.CacheConfiguration
 
setMaximumSize(Long) - Method in class io.micronaut.cache.CacheConfiguration
 
setMaximumWeight(Long) - Method in class io.micronaut.cache.CacheConfiguration
 
setRecordStats(boolean) - Method in class io.micronaut.cache.CacheConfiguration
Set whether record stats is enabled.
setTestMode(boolean) - Method in class io.micronaut.cache.CacheConfiguration
Set whether test mode is enabled.
SETTING_ENABLED - Static variable in class io.micronaut.cache.discovery.DiscoveryClientCacheConfiguration
Configuration property name for enabled discovery cache client.
SyncCache<C> - Interface in io.micronaut.cache
A synchronous API for accessing cache values that is useful for in-memory caching implementations.

T

toString() - Method in class io.micronaut.cache.interceptor.ParametersKey
 

V

value() - Method in annotation type io.micronaut.cache.annotation.Cacheable
value() - Method in annotation type io.micronaut.cache.annotation.CacheConfig
 
value() - Method in annotation type io.micronaut.cache.annotation.CacheInvalidate
value() - Method in annotation type io.micronaut.cache.annotation.CachePut
value() - Method in annotation type io.micronaut.cache.annotation.InvalidateOperations
 
value() - Method in annotation type io.micronaut.cache.annotation.PutOperations
 

Z

ZERO_ARG_KEY - Static variable in class io.micronaut.cache.interceptor.ParametersKey
 
A C D E G H I J K O P R S T V Z 
All Classes All Packages