类 CleanAuthCacheTask
java.lang.Object
io.github.mangocrisp.spring.taybct.tool.scheduling.job.AbstractScheduledTaskJob
io.github.mangocrisp.spring.taybct.tool.scheduling.job.RedisScheduledTaskJob
io.github.mangocrisp.spring.taybct.auth.task.job.CleanAuthCacheTask
- 所有已实现的接口:
io.github.mangocrisp.spring.taybct.tool.scheduling.job.IScheduledTaskJob
,Runnable
@AutoConfiguration
@ConditionalOnClass({org.springframework.jdbc.core.JdbcTemplate.class,org.springframework.data.redis.core.RedisTemplate.class})
@Scheduler("cleanAuthCache")
public class CleanAuthCacheTask
extends io.github.mangocrisp.spring.taybct.tool.scheduling.job.RedisScheduledTaskJob
清理鉴权缓存,这里包括了
- 使用 oauth2 自带的几种鉴权方式带来的,没有自动清理的缓存
- 使用自定义的鉴权生成的 token ,刷新时间已经超时,了但是没有自动清理的缓存
- 使用 oauth2 自带的几种鉴权方式带来的,没有自动清理的缓存
- 使用自定义的鉴权生成的 token ,刷新时间已经超时,了但是没有自动清理的缓存
- 从以下版本开始:
- 1.1.0
-
字段概要
字段修饰符和类型字段说明private final org.springframework.jdbc.core.JdbcTemplate
private io.github.mangocrisp.spring.taybct.tool.core.message.IMessageSendService
private static final String
private static final String
private static final String
从类继承的字段 io.github.mangocrisp.spring.taybct.tool.scheduling.job.AbstractScheduledTaskJob
cron, description, key, logRecorder, params, startTime, stopTime
-
构造器概要
构造器构造器说明CleanAuthCacheTask
(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, org.springframework.data.redis.core.RedisTemplate<String, String> redisTemplate, org.springframework.core.env.Environment env) -
方法概要
从类继承的方法 io.github.mangocrisp.spring.taybct.tool.scheduling.job.RedisScheduledTaskJob
getMinCacheTime, run
从类继承的方法 io.github.mangocrisp.spring.taybct.tool.scheduling.job.AbstractScheduledTaskJob
setCron, setDescription, setKey, setParams, startRecord, stopRecord, stopRecord
-
字段详细资料
-
构造器详细资料
-
CleanAuthCacheTask
-
-
方法详细资料
-
getLogRecorder
- 覆盖:
getLogRecorder
在类中io.github.mangocrisp.spring.taybct.tool.scheduling.job.AbstractScheduledTaskJob
-
run
-