Package io.micronaut.cache
Contains cache interfaces and implementations in Micronaut.
- Since:
- 1.0
-
Interface Summary Interface Description AsyncCache<C> A cache implementation that supports async non-blocking caching operations.Cache<C> Base cache interface implemented by bothSyncCacheandAsyncCache.CacheErrorHandler An interface for handling cache errors.CacheInfo Provides information about the state of the cache.CacheManager<C> Simple CacheManager interface for managing caches.DynamicCacheManager<C> A contract for a cache manager that does not have pre-defined caches.SyncCache<C> A synchronous API for accessing cache values that is useful for in-memory caching implementations. -
Class Summary Class Description AbstractMapBasedSyncCache<C extends java.util.Map<java.lang.Object,java.lang.Object>> AbstractSyncCacheimplementation that relies on a cache object that implements theMapinterface.AsyncCacheErrorHandler Async error handler that simply logs errors.CacheConfiguration A base configuration class for configuring caches.DefaultCacheErrorHandler Default implementation ofCacheErrorHandler.DefaultCacheManager<C> Default implementation of theCacheManagerinterface.DelegatingAsyncBlockingCache<C> Transforms a synchronous cache into one that meets the asynchronous contract while still running operations on the same thread.DelegatingAsyncCache<C> An asynchronous cache that delegates blocking cache operations to the provided executor.