Package io.micronaut.cache
Interface Cache<C>
-
- Type Parameters:
C
- The native cache implementation
- All Known Subinterfaces:
AsyncCache<C>
,SyncCache<C>
- All Known Implementing Classes:
AbstractMapBasedSyncCache
,DelegatingAsyncBlockingCache
,DelegatingAsyncCache
,JCacheSyncCache
public interface Cache<C>
Base cache interface implemented by both
SyncCache
andAsyncCache
.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default org.reactivestreams.Publisher<CacheInfo>
getCacheInfo()
java.lang.String
getName()
C
getNativeCache()
-