com.ms.tools.redis.utils.RedisHashMapUtils Maven / Gradle / Ivy
The newest version!
/*
* @MS 2022-12-13
* Copyright (c) 2001-2023 萌森
* 保留所有权利
* 本软件为萌森工作室所有及包含机密信息,须遵守其相关许可证条款进行使用。
* Copyright (c) 2001-2023 Meng Sen
* All rights reserved
* This software is owned by Mengsen Studio and contains confidential information, and must be used in accordance with its relevant license terms.
* Website:https://qyg2297248353.top
*/
package com.ms.tools.redis.utils;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.stereotype.Component;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.TimeUnit;
import java.util.logging.Logger;
/**
* @author ms2297248353
*/
@Component
public class RedisHashMapUtils extends RedisUtils {
private static final Logger log = Logger.getLogger(RedisHashMapUtils.class.getName());
/**
* 构造方法
* 注入 RedisTemplate
*
* @param redisTemplate RedisTemplate
*/
public RedisHashMapUtils(RedisTemplate