@Singleton
public class HazelcastCacheManager
extends java.lang.Object
implements io.micronaut.cache.DynamicCacheManager<com.hazelcast.core.IMap<java.lang.Object,java.lang.Object>>
CacheManager
implementation for Hazelcast.Constructor and Description |
---|
HazelcastCacheManager(io.micronaut.core.convert.ConversionService<?> conversionService,
com.hazelcast.core.HazelcastInstance hazelcastInstance,
java.util.concurrent.ExecutorService executorService)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
io.micronaut.cache.SyncCache<com.hazelcast.core.IMap<java.lang.Object,java.lang.Object>> |
getCache(java.lang.String name) |
public HazelcastCacheManager(io.micronaut.core.convert.ConversionService<?> conversionService, com.hazelcast.core.HazelcastInstance hazelcastInstance, @Named(value="io") java.util.concurrent.ExecutorService executorService)
conversionService
- convert values that are returnedhazelcastInstance
- the client instance of hazelcast clientexecutorService
- managers the pool of executors