类 LocalCacheConfig
java.lang.Object
com.iplatform.core.PlatformConfiguration
com.iplatform.base.config.CacheConfiguration
com.iplatform.base.config.LocalCacheConfig
@Configuration
@ConditionalOnProperty(prefix="iplatform.cache",
name="redis-enabled",
havingValue="false",
matchIfMissing=true)
public class LocalCacheConfig
extends CacheConfiguration
-
字段概要
从类继承的字段 com.iplatform.core.PlatformConfiguration
logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明com.walker.cache.CacheProvider<String>com.walker.cache.CacheProvider<S_host>cacheProviderHostLocal(com.walker.jdbc.service.PubService pubService) 默认加载缓存(内存方式)databaseArgumentsManager(ConfigArgumentServiceImpl configArgumentService) 基于内存实现的 ArgumentsManager 管理器。localCategoryCacheProvider(CategoryServiceImpl categoryService) 平台分类数据,本地缓存实现。localDeptCacheProvider(DeptServiceImpl deptService) 创建基于内存的机构缓存管理器。notificationTemplateCache(NotificationServiceImpl notificationService) 通知提醒模板配置缓存。推送提醒临时数据缓存定义。systemGroupCache(GroupServiceImpl groupService) userCacheProviderForLocal(UserServiceImpl userService) 加载本地用户缓存用户登录记录缓存,用于判断登录策略。com.walker.web.UserOnlineProvider从类继承的方法 com.iplatform.base.config.CacheConfiguration
cacheProperties, dictCacheProvider, formCacheProvider, menuCacheProvider
-
构造器详细资料
-
LocalCacheConfig
public LocalCacheConfig()
-
-
方法详细资料
-
notificationTemplateCache
@Bean public NotificationTemplateCache notificationTemplateCache(NotificationServiceImpl notificationService) 通知提醒模板配置缓存。- 参数:
notificationService-- 返回:
-
userLoginCache
用户登录记录缓存,用于判断登录策略。- 返回:
-
systemGroupCache
-
localCategoryCacheProvider
平台分类数据,本地缓存实现。- 参数:
categoryService-- 返回:
-
pushCacheProvider
推送提醒临时数据缓存定义。- 返回:
-
userOnlineProvider
@Bean public com.walker.web.UserOnlineProvider userOnlineProvider() -
cacheProviderCaptchaLocal
@Bean("captchaCacheProvider") public com.walker.cache.CacheProvider<String> cacheProviderCaptchaLocal() -
localDeptCacheProvider
创建基于内存的机构缓存管理器。- 参数:
deptService-- 返回:
-
databaseArgumentsManager
@Bean public DatabaseArgumentsManager databaseArgumentsManager(ConfigArgumentServiceImpl configArgumentService) 基于内存实现的 ArgumentsManager 管理器。- 参数:
configArgumentService-- 返回:
-
userCacheProviderForLocal
加载本地用户缓存- 参数:
userService-- 返回:
-
cacheProviderHostLocal
@Bean public com.walker.cache.CacheProvider<S_host> cacheProviderHostLocal(com.walker.jdbc.service.PubService pubService) throws Exception 默认加载缓存(内存方式)- 参数:
pubService-- 返回:
- 抛出:
Exception
-