All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lmaye.cloud.starter.delay.queue.service.RedisDelayQueueTask Maven / Gradle / Ivy

There is a newer version: 1.2.29
Show newest version
package com.lmaye.cloud.starter.delay.queue.service;

import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;

/**
 * -- Redis Delay Queue Task
 *
 * @author Lmay Zhou
 * @date 2021/12/14 17:55
 * @email [email protected]
 * @since JDK1.8
 */
@Slf4j
@AllArgsConstructor
public class RedisDelayQueueTask implements Runnable {
    /**
     * Delay Queue Service
     */
    private final DelayQueueService delayQueueService;

    /**
     * 线程处理
     */
    @Override
    public void run() {
        delayQueueService.taskHandle();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy