
ru.taskurotta.service.hz.schedule.adapter.tasks.UpdateErrorCountRunnable 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:21
*/
public class UpdateErrorCountRunnable implements Runnable, Serializable {
private long id;
private int count;
private String message;
public UpdateErrorCountRunnable(long id, int count, String message) {
this.id = id;
this.count = count;
this.message = message;
}
@Override
public void run() {
HzJobStoreAdapter.getRealJobStore().updateErrorCount(id, count, message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy