RedisDelayQueue.java 461 Bytes
package cn.com.glsx.stdinterface.modules.queue;

import com.glsx.plat.redis.utils.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @author xiangyanlin
 * @date 2022/9/9
 */
@Component
public class RedisDelayQueue {

    @Autowired
    private RedisUtils redisUtils;

    public void add() {

    }

    public void getAndRemove() {
        redisUtils.zsSet(null, null);
    }
}