Class JetCacheSpringCacheManager

java.lang.Object
cn.herodotus.engine.cache.jetcache.enhance.JetCacheSpringCacheManager
All Implemented Interfaces:
org.springframework.cache.CacheManager
Direct Known Subclasses:
HerodotusCacheManager

public class JetCacheSpringCacheManager extends Object implements org.springframework.cache.CacheManager

Description: 基于 JetCache 的 Spring Cache Manager 扩展

Author:
: gengwei.zheng
Date:
: 2022/7/23 14:06
  • Constructor Details

  • Method Details

    • isAllowNullValues

      public boolean isAllowNullValues()
    • setAllowNullValues

      public void setAllowNullValues(boolean allowNullValues)
    • createJetCache

      protected org.springframework.cache.Cache createJetCache(String name)
    • createJetCache

      protected org.springframework.cache.Cache createJetCache(String name, cn.herodotus.engine.cache.core.properties.CacheSetting cacheSetting)
    • getCache

      @Nullable public org.springframework.cache.Cache getCache(String name)
      Specified by:
      getCache in interface org.springframework.cache.CacheManager
    • getCacheNames

      public Collection<String> getCacheNames()
      Specified by:
      getCacheNames in interface org.springframework.cache.CacheManager