Package io.micronaut.microstream.cache
Class MicroStreamSyncCache<K,V>
java.lang.Object
io.micronaut.cache.jcache.JCacheSyncCache
io.micronaut.microstream.cache.MicroStreamSyncCache<K,V>
- Type Parameters:
K- the key typeV- 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
ConstructorsConstructorDescriptionMicroStreamSyncCache(javax.cache.Cache<K, V> cache, io.micronaut.core.convert.ConversionService conversionService, ExecutorService executorService) -
Method Summary
Methods inherited from class io.micronaut.cache.jcache.JCacheSyncCache
get, get, getExecutorService, getName, getNativeCache, invalidate, invalidateAll, put, putIfAbsentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.cache.Cache
getCacheInfoMethods 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
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-