类 RedisWechatCache

java.lang.Object
com.walker.cache.AbstractCacheProvider<T>
com.walker.support.redis.cache.RedisCacheProvider<String>
com.iplatform.base.cache.RedisWechatCache
所有已实现的接口:
WechatCacheProvider, com.walker.cache.CacheProvider<String>, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean<com.walker.cache.CacheProvider<String>>, org.springframework.beans.factory.InitializingBean

public class RedisWechatCache extends com.walker.support.redis.cache.RedisCacheProvider<String> implements WechatCacheProvider
微信相关缓存,由于存在票据、token等过期设置,因此测试也需要使用Redis方式。
作者:
时克英
  • 字段概要

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

    count, logger, userCache

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

    OBJECT_TYPE_ATTRIBUTE
  • 构造器概要

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

    修饰符和类型
    方法
    说明
    返回:JS-SDK的ticket,
    获取小程序access_token,生成小程序二维码使用。
     
     
    获取公共(公众号)accessToken
    void
    缓存ticket,默认:7100 秒后过期。
    void
    putMiniAccessToken(String value, long expiredSeconds)
    设置(小程序)accessToken,
    void
    putPublicAccessToken(String value, long expiredSeconds)
    设置公共(公众号)accessToken,
    void
    删除(小程序)accessToken.

    从类继承的方法 com.walker.support.redis.cache.RedisCacheProvider

    destroy, getCacheCount, getCacheData, getRedisCache, getRedisRootData, isSupportExpiredCache, loadDataToCache, provideCacheInstance, putCacheData, putCacheData, reload, removeCacheData, setRedisHelper, setSupportExpiredCache, updateCacheData

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

    afterPropertiesSet, getCache, getCacheList, getCacheParam, getCreateTime, getObject, getObjectType, isLoadPage, isSingleton, isUseRedis, loadPageDataToCache, putCacheList, putCacheList, putCacheListAppend, queryListLimit, removeCacheList, removeCacheList, setCacheParam, setLoadPage, setPageSize, setUseRedis, size, toString

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

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