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

ru.taskurotta.service.hz.schedule.adapter.tasks.UpdateJobStatusRunnable Maven / Gradle / Ivy

The newest version!
package ru.taskurotta.service.hz.schedule.adapter.tasks;

import ru.taskurotta.service.hz.schedule.adapter.HzJobStoreAdapter;

import java.io.Serializable;

/**
 * Javadoc should be here
 * Date: 10.12.13 19:14
 */
public class UpdateJobStatusRunnable implements Runnable, Serializable {

    private long id;
    private int status;

    public UpdateJobStatusRunnable(long id, int status) {
        this.id = id;
        this.status = status;
    }

    @Override
    public void run() {
        HzJobStoreAdapter.getRealJobStore().updateJobStatus(id, status);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy