Interface Cache<C>

Type Parameters:
C - The native cache implementation
All Known Subinterfaces:
AsyncCache<C>, SyncCache<C>
All Known Implementing Classes:
AbstractMapBasedSyncCache, DefaultSyncCache, DelegatingAsyncBlockingCache, DelegatingAsyncCache, EhcacheSyncCache, HazelcastAsyncCache, HazelcastSyncCache, InfinispanAsyncCache, InfinispanSyncCache, JCacheSyncCache, NoOpSyncCache

public interface Cache<C>

Base cache interface implemented by both SyncCache and AsyncCache.

Since:
1.0
Author:
Graeme Rocher
  • Method Details

    • getName

      String getName()
      Returns:
      The name of the cache
    • getNativeCache

      C getNativeCache()
      Returns:
      The native cache implementation
    • getCacheInfo

      default org.reactivestreams.Publisher<CacheInfo> getCacheInfo()
      Returns:
      The cache information.