ScheduleJobInfo.java
465 Bytes
/**
*
*/
package com.yoho.jobs.server.domain;
import java.util.concurrent.ScheduledFuture;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
* @author yanzhang.fu
*
*/
@Getter
@Setter
@ToString
public class ScheduleJobInfo {
private JobInfo jobInfo;
// 定时任务返回对象
private ScheduledFuture<?> future;
ThreadPoolTaskScheduler scheduler;
}