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

com.github.hengboy.job.schedule.queue.bean.JobQueueBean Maven / Gradle / Ivy

The newest version!
package com.github.hengboy.job.schedule.queue.bean;

import lombok.Builder;
import lombok.Data;

import java.io.Serializable;

/**
 * 任务执行以及重试BlockingQueue队列内的对象
 * 该对象用于任务的执行以及重试所需要的参数封装
 *
 * @author:于起宇 

* ================================ * Created with IDEA. * Date:2019-01-26 * Time:09:49 * 个人博客:http://blog.yuqiyu.com * 简书:http://www.jianshu.com/u/092df3f77bca * 码云:https://gitee.com/hengboy * GitHub:https://github.com/hengyuboy * ================================ *

*/ @Data @Builder public class JobQueueBean implements Serializable { /** * 任务队列编号 */ private String jobQueueId; /** * 任务队列唯一key */ private String jobQueueKey; /** * 所属任务的key */ private String jobKey; /** * 任务执行方式 */ private String jobExecuteAway; /** * 任务执行参数 */ private String jobExecuteParam; /** * 负载均衡策略 */ private String lbStrategy; /** * 当前重试次数 */ private int retryCount; /** * 任务队列执行日志编号 */ private String executeLogId; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy