com.lmaye.cloud.starter.delay.queue.service.RedisDelayQueueTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lms-cloud-starter-delay-queue Show documentation
Show all versions of lms-cloud-starter-delay-queue Show documentation
LMS Cloud Delay Queue Starter project for Spring Boot
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