public class InfinispanSyncCache
extends io.micronaut.cache.AbstractMapBasedSyncCache<org.infinispan.client.hotrod.RemoteCache<java.lang.Object,java.lang.Object>>
SyncCache implementation based on Infinispan's RemoteCache.| Constructor and Description |
|---|
InfinispanSyncCache(io.micronaut.core.convert.ConversionService<?> conversionService,
org.infinispan.client.hotrod.RemoteCache<java.lang.Object,java.lang.Object> nativeCache) |
| Modifier and Type | Method and Description |
|---|---|
io.micronaut.cache.AsyncCache<org.infinispan.client.hotrod.RemoteCache<java.lang.Object,java.lang.Object>> |
async() |
org.reactivestreams.Publisher<io.micronaut.cache.CacheInfo> |
getCacheInfo() |
java.lang.String |
getName() |
get, get, getConversionService, getNativeCache, invalidate, invalidateAll, put, putIfAbsent, putIfAbsentpublic InfinispanSyncCache(io.micronaut.core.convert.ConversionService<?> conversionService,
org.infinispan.client.hotrod.RemoteCache<java.lang.Object,java.lang.Object> nativeCache)
conversionService - the conversion servicenativeCache - the native cachepublic java.lang.String getName()
getName in interface io.micronaut.cache.Cache<org.infinispan.client.hotrod.RemoteCache<java.lang.Object,java.lang.Object>>getName in class io.micronaut.cache.AbstractMapBasedSyncCache<org.infinispan.client.hotrod.RemoteCache<java.lang.Object,java.lang.Object>>@Nonnull public io.micronaut.cache.AsyncCache<org.infinispan.client.hotrod.RemoteCache<java.lang.Object,java.lang.Object>> async()
public org.reactivestreams.Publisher<io.micronaut.cache.CacheInfo> getCacheInfo()