zxl
2025-11-12 724a26b26c11060c0c0cdec86006138981f2ac80
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Êþº¾=Y
 =org/springframework/cache/annotation/CachingConfigurerSupport<init>()V1org/springframework/data/redis/core/RedisTemplate
 
 setConnectionFactoryE(Lorg/springframework/data/redis/connection/RedisConnectionFactory;)V5com/ycl/framework/config/FastJson2JsonRedisSerializerjava/lang/Object
 (Ljava/lang/Class;)V?org/springframework/data/redis/serializer/StringRedisSerializer
 
 setKeySerializer>(Lorg/springframework/data/redis/serializer/RedisSerializer;)V
 setValueSerializer
  !setHashKeySerializer
# $setHashValueSerializer
& 'afterPropertiesSet)=org/springframework/data/redis/core/script/DefaultRedisScript
(
,-. /0$com/ycl/framework/config/RedisConfiglimitScriptText()Ljava/lang/String;
(2 34 setScriptText(Ljava/lang/String;)V6java/lang/Long
(8 9 setResultType;Mlocal key = KEYS[1]
local count = tonumber(ARGV[1])
local time = tonumber(ARGV[2])
local current = redis.call('get', key);
if current and tonumber(current) > count then
    return tonumber(current);
end
current = redis.call('incr', key)
if tonumber(current) == 1 then
    redis.call('expire', key, time)
end
return tonumber(current);CodeLineNumberTableLocalVariableTablethis&Lcom/ycl/framework/config/RedisConfig; redisTemplatew(Lorg/springframework/data/redis/connection/RedisConnectionFactory;)Lorg/springframework/data/redis/core/RedisTemplate;connectionFactoryBLorg/springframework/data/redis/connection/RedisConnectionFactory;template3Lorg/springframework/data/redis/core/RedisTemplate;
serializer7Lcom/ycl/framework/config/FastJson2JsonRedisSerializer;LocalVariableTypeTableYLorg/springframework/data/redis/core/RedisTemplate<Ljava/lang/Object;Ljava/lang/Object;>;    Signature(Lorg/springframework/data/redis/connection/RedisConnectionFactory;)Lorg/springframework/data/redis/core/RedisTemplate<Ljava/lang/Object;Ljava/lang/Object;>;RuntimeVisibleAnnotations-Lorg/springframework/context/annotation/Bean; limitScriptA()Lorg/springframework/data/redis/core/script/DefaultRedisScript; redisScript?Lorg/springframework/data/redis/core/script/DefaultRedisScript;QLorg/springframework/data/redis/core/script/DefaultRedisScript<Ljava/lang/Long;>;S()Lorg/springframework/data/redis/core/script/DefaultRedisScript<Ljava/lang/Long;>;
SourceFileRedisConfig.java6Lorg/springframework/context/annotation/Configuration;4Lorg/springframework/cache/annotation/EnableCaching;!,</*·±=> ?@AB<·=»Y·    M,+¶
»Y·N,»Y·¶,-¶,»Y·¶,-¶",¶%,°=&     " '#2$7&;'>*=?@=CD5EF&GHI 5EJKLMNOP<j»(Y·*L+*¶+¶1+5¶7+°=-./0>?@QRI QSKTMN/0<-:°=8> ?@UVM
WX