类 LocalProductCache

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

public class LocalProductCache extends com.walker.cache.AbstractCacheProvider<EbProduct> implements ProductCache
  • 字段概要

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

    count, logger, userCache

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

    OBJECT_TYPE_ATTRIBUTE
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    get(long id)
     
     
     
    protected int
    loadDataToCache(com.walker.cache.Cache cache)
     
    void
    remove(long id)
     
    void
    save(EbProduct category)
     
    void
     
    void
    update(EbProduct 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
  • 构造器详细资料

    • LocalProductCache

      public LocalProductCache()
  • 方法详细资料

    • get

      public EbProduct get(long id)
      指定者:
      get 在接口中 ProductCache
    • save

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

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

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

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

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

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

      public void setProductService(ProductServiceImpl productService)