Class MicroStreamSyncCache<K,V>

java.lang.Object
io.micronaut.cache.jcache.JCacheSyncCache
io.micronaut.microstream.cache.MicroStreamSyncCache<K,V>
Type Parameters:
K - the key type
V - the value type
All Implemented Interfaces:
io.micronaut.cache.Cache<javax.cache.Cache>, io.micronaut.cache.SyncCache<javax.cache.Cache>, AutoCloseable

public class MicroStreamSyncCache<K,V> extends io.micronaut.cache.jcache.JCacheSyncCache implements AutoCloseable
A SyncCache implementation that uses a MicroStream Cache instance.
Since:
1.0.0
Author:
Tim Yates
  • Constructor Summary

    Constructors
    Constructor
    Description
    MicroStreamSyncCache(javax.cache.Cache<K,V> cache, io.micronaut.core.convert.ConversionService conversionService, ExecutorService executorService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class io.micronaut.cache.jcache.JCacheSyncCache

    get, get, getExecutorService, getName, getNativeCache, invalidate, invalidateAll, put, putIfAbsent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.cache.Cache

    getCacheInfo

    Methods inherited from interface io.micronaut.cache.SyncCache

    async, get, get, putIfAbsent
  • Constructor Details

    • MicroStreamSyncCache

      public MicroStreamSyncCache(javax.cache.Cache<K,V> cache, io.micronaut.core.convert.ConversionService conversionService, ExecutorService executorService)
  • Method Details