类 LocalMerchantCache

java.lang.Object
com.walker.cache.AbstractCacheProvider<EbMerchant>
com.ishop.merchant.cache.LocalMerchantCache
所有已实现的接口:
MerchantCache, com.walker.cache.CacheProvider<EbMerchant>, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<com.walker.cache.CacheProvider<EbMerchant>>, org.springframework.beans.factory.InitializingBean

public class LocalMerchantCache extends com.walker.cache.AbstractCacheProvider<EbMerchant> implements MerchantCache
  • 字段概要

    从类继承的字段 com.walker.cache.AbstractCacheProvider

    count, logger, userCache

    从接口继承的字段 org.springframework.beans.factory.FactoryBean

    OBJECT_TYPE_ATTRIBUTE
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    get(int id)
     
     
     
    protected int
    loadDataToCache(com.walker.cache.Cache cache)
     
    void
    remove(int id)
     
    void
    save(EbMerchant category)
     
    void
     
    void
    update(EbMerchant category)
     

    从类继承的方法 com.walker.cache.AbstractCacheProvider

    afterPropertiesSet, destroy, getCache, getCacheCount, getCacheData, getCacheList, getCacheParam, getCreateTime, getObject, getObjectType, isLoadPage, isSingleton, isUseRedis, loadPageDataToCache, provideCacheInstance, putCacheData, putCacheData, putCacheList, putCacheList, putCacheListAppend, queryListLimit, reload, removeCacheData, removeCacheList, removeCacheList, setCacheParam, setLoadPage, setPageSize, setUseRedis, size, toString, updateCacheData

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • 构造器详细资料

    • LocalMerchantCache

      public LocalMerchantCache()
  • 方法详细资料

    • get

      public EbMerchant get(int id)
      指定者:
      get 在接口中 MerchantCache
    • save

      public void save(EbMerchant category)
      指定者:
      save 在接口中 MerchantCache
    • update

      public void update(EbMerchant category)
      指定者:
      update 在接口中 MerchantCache
    • remove

      public void remove(int id)
      指定者:
      remove 在接口中 MerchantCache
    • loadDataToCache

      protected int loadDataToCache(com.walker.cache.Cache cache)
      指定者:
      loadDataToCache 在类中 com.walker.cache.AbstractCacheProvider<EbMerchant>
    • getProviderName

      public String getProviderName()
      指定者:
      getProviderName 在接口中 com.walker.cache.CacheProvider<EbMerchant>
    • getProviderType

      public Class<?> getProviderType()
      指定者:
      getProviderType 在接口中 com.walker.cache.CacheProvider<EbMerchant>
    • setMerchantService

      public void setMerchantService(MerchantServiceImpl merchantService)