
link.jfire.job.TimeComparator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of job Show documentation
Show all versions of job Show documentation
The job is a very lightweight framework. The default support cycle task, timing task, automatic cycle extended task. And it can automatically by the code in the task of decision tasks to continue or not. Users only need to implement a job interfaces
The newest version!
package link.jfire.job;
import java.util.Comparator;
import link.jfire.job.trigger.Trigger;
public class TimeComparator implements Comparator
{
@Override
public int compare(Trigger o1, Trigger o2)
{
return (int) (o1.nextTriggerTime() - o2.nextTriggerTime());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy