Package io.micronaut.eclipsestore.cache
Class EclipseStoreSyncCache<K,V>
java.lang.Object
io.micronaut.cache.jcache.JCacheSyncCache
io.micronaut.eclipsestore.cache.EclipseStoreSyncCache<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 EclipseStoreSyncCache<K,V>
extends io.micronaut.cache.jcache.JCacheSyncCache
implements AutoCloseable
A
SyncCache implementation that uses a EclipseStore Cache instance.- Since:
- 1.3.0
- Author:
- Tim Yates
-
Constructor Summary
ConstructorsConstructorDescriptionEclipseStoreSyncCache(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
-
EclipseStoreSyncCache
public EclipseStoreSyncCache(javax.cache.Cache<K, V> cache, io.micronaut.core.convert.ConversionService conversionService, ExecutorService executorService)
-
-
Method Details
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-