eight
2025-03-31 030979c08b23b917a942eed09f0d6a9134c45ee1
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
package cn.lihu.jh.framework.redis.config;
 
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.validation.annotation.Validated;
 
/**
 * Cache 配置项
 *
 * @author Wanwan
 */
@ConfigurationProperties("jh.cache")
@Data
@Validated
public class JhCacheProperties {
 
    /**
     * {@link #redisScanBatchSize} 默认值
     */
    private static final Integer REDIS_SCAN_BATCH_SIZE_DEFAULT = 30;
 
    /**
     * redis scan 一次返回数量
     */
    private Integer redisScanBatchSize = REDIS_SCAN_BATCH_SIZE_DEFAULT;
 
}