Class InfinispanCacheInfo

java.lang.Object
io.micronaut.cache.infinispan.InfinispanCacheInfo
All Implemented Interfaces:
CacheInfo, io.micronaut.core.naming.Named

public class InfinispanCacheInfo extends Object implements CacheInfo
Provides Infinispan cache statistics.
Since:
1.0.0
Author:
Álvaro Sánchez-Mariscal
See Also:
  • RemoteCacheClientStatisticsMXBean
  • ServerStatistics
  • Constructor Details

    • InfinispanCacheInfo

      public InfinispanCacheInfo(org.infinispan.client.hotrod.RemoteCache<Object,Object> nativeCache)
      Parameters:
      nativeCache - the Infinispan remote cache
  • Method Details

    • get

      @NonNull public @NonNull Map<String,Object> get()
      Description copied from interface: CacheInfo
      A publisher that emits a single result containing the cache data.
      Specified by:
      get in interface CacheInfo
      Returns:
      Cache data
    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named