Class CoherenceSyncCache

java.lang.Object
io.micronaut.cache.AbstractMapBasedSyncCache<com.tangosol.net.NamedCache<Object,Object>>
io.micronaut.cache.coherence.CoherenceSyncCache
All Implemented Interfaces:
io.micronaut.cache.Cache<com.tangosol.net.NamedCache<Object,Object>>, io.micronaut.cache.SyncCache<com.tangosol.net.NamedCache<Object,Object>>

public class CoherenceSyncCache extends io.micronaut.cache.AbstractMapBasedSyncCache<com.tangosol.net.NamedCache<Object,Object>>
A SyncCache implementation based on Coherence.
Since:
1.0
Author:
Vaso Putica
  • Constructor Summary

    Constructors
    Constructor
    Description
    CoherenceSyncCache(io.micronaut.core.convert.ConversionService conversionService, com.tangosol.net.NamedCache<Object,Object> nativeCache, ExecutorService executorService)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull io.micronaut.cache.AsyncCache<com.tangosol.net.NamedCache<Object,Object>>
     
     

    Methods inherited from class io.micronaut.cache.AbstractMapBasedSyncCache

    get, get, getConversionService, getNativeCache, invalidate, invalidateAll, put, putIfAbsent, putIfAbsent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.micronaut.cache.Cache

    getCacheInfo

    Methods inherited from interface io.micronaut.cache.SyncCache

    get, get, getExecutorService
  • Constructor Details

    • CoherenceSyncCache

      public CoherenceSyncCache(io.micronaut.core.convert.ConversionService conversionService, com.tangosol.net.NamedCache<Object,Object> nativeCache, ExecutorService executorService)
      Parameters:
      conversionService - the conversion service
      nativeCache - the native cache
      executorService - managers the pool of executors
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface io.micronaut.cache.Cache<com.tangosol.net.NamedCache<Object,Object>>
      Specified by:
      getName in class io.micronaut.cache.AbstractMapBasedSyncCache<com.tangosol.net.NamedCache<Object,Object>>
    • async

      @NonNull public @NonNull io.micronaut.cache.AsyncCache<com.tangosol.net.NamedCache<Object,Object>> async()