Package org.redisson.micronaut.cache
Class RedissonSyncCache
- All Implemented Interfaces:
io.micronaut.cache.Cache<RMap<Object,,Object>> io.micronaut.cache.SyncCache<RMap<Object,Object>>
public class RedissonSyncCache
extends io.micronaut.cache.AbstractMapBasedSyncCache<RMap<Object,Object>>
- Author:
- Nikita Koksharov
-
Constructor Summary
ConstructorsConstructorDescriptionRedissonSyncCache(io.micronaut.core.convert.ConversionService conversionService, RMapCache<Object, Object> mapCache, RMap<Object, Object> map, ExecutorService executorService, BaseCacheConfiguration configuration) -
Method Summary
Modifier and TypeMethodDescriptionasync()getName()void<T> TputIfAbsent(@NonNull Object key, @NonNull Supplier<T> value) <T> @NonNull Optional<T> putIfAbsent(@NonNull Object key, T value) Methods inherited from class io.micronaut.cache.AbstractMapBasedSyncCache
get, get, getConversionService, getNativeCache, invalidate, invalidateAllMethods 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
get, get, getExecutorService
-
Constructor Details
-
RedissonSyncCache
public RedissonSyncCache(io.micronaut.core.convert.ConversionService conversionService, RMapCache<Object, Object> mapCache, RMap<Object, Object> map, ExecutorService executorService, BaseCacheConfiguration configuration)
-
-
Method Details
-
getName
-
putIfAbsent
-
putIfAbsent
-
put
-
async
-