Class CoherenceCacheManager

java.lang.Object
io.micronaut.cache.coherence.CoherenceCacheManager
All Implemented Interfaces:
io.micronaut.cache.DynamicCacheManager<com.tangosol.net.NamedCache<Object,Object>>

@Singleton public class CoherenceCacheManager extends Object implements io.micronaut.cache.DynamicCacheManager<com.tangosol.net.NamedCache<Object,Object>>
A CacheManager implementation for Coherence.
Since:
1.0
Author:
Vaso Putica
  • Constructor Details

    • CoherenceCacheManager

      public CoherenceCacheManager(io.micronaut.core.convert.ConversionService conversionService, @Named("io") ExecutorService executorService, com.tangosol.net.Coherence coherence)
      Construct a new CoherenceCacheManager.
      Parameters:
      conversionService - the conversion service
      executorService - the executor service
      coherence - the Coherence instance being managed
  • Method Details

    • getCache

      @NonNull public @NonNull io.micronaut.cache.SyncCache<com.tangosol.net.NamedCache<Object,Object>> getCache(String name)
      Specified by:
      getCache in interface io.micronaut.cache.DynamicCacheManager<com.tangosol.net.NamedCache<Object,Object>>