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

link.jfire.job.TimeComparator Maven / Gradle / Ivy

Go to download

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