Commit aff31122 authored by Daniel Eggert's avatar Daniel Eggert
Browse files

added another scene state in the job statistics

parent 5606a6bc
...@@ -30,23 +30,24 @@ public class ProcessingJob { ...@@ -30,23 +30,24 @@ public class ProcessingJob {
// public static final int PROGRESS_ANALYSIS_FINISHED_WITH_WARNINGS = 1 << 17; // public static final int PROGRESS_ANALYSIS_FINISHED_WITH_WARNINGS = 1 << 17;
// public static final int PROGRESS_ANALYSIS_CANCELED = 1 << 18; // public static final int PROGRESS_ANALYSIS_CANCELED = 1 << 18;
public static final int PROC_STAT_IDX_READY_TO_PROCESS = 0; public static final int PROC_STAT_IDX_PROC_PENDING = 0;
public static final int PROC_STAT_IDX_L1A = 1; public static final int PROC_STAT_IDX_PROC_STARTED = 1;
public static final int PROC_STAT_IDX_L1B = 2; public static final int PROC_STAT_IDX_L1A = 2;
public static final int PROC_STAT_IDX_L1C = 3; public static final int PROC_STAT_IDX_L1B = 3;
public static final int PROC_STAT_IDX_L2A = 4; public static final int PROC_STAT_IDX_L1C = 4;
public static final int PROC_STAT_IDX_L2B = 5; public static final int PROC_STAT_IDX_L2A = 5;
public static final int PROC_STAT_IDX_L2C = 6; public static final int PROC_STAT_IDX_L2B = 6;
public static final int PROC_STAT_IDX_FAILED = 7; public static final int PROC_STAT_IDX_L2C = 7;
public static final int PROC_STAT_IDX_FAILED = 8;
/** /**
* in case the corresponding job instance is <code>null</code> for some reason * in case the corresponding job instance is <code>null</code> for some reason
*/ */
public static final long ID_NULL_JOB = 0; public static final long ID_NULL_JOB = 0;
/** /**
* in case the actual id has not been assigned yet * in case the actual id has not been assigned yet
*/ */
public static final long ID_INVALID = -1; public static final long ID_INVALID = -1;
public long id; public long id;
public Timestamp creationtime; public Timestamp creationtime;
...@@ -248,7 +249,7 @@ public class ProcessingJob { ...@@ -248,7 +249,7 @@ public class ProcessingJob {
procJob.seasonCode = seasonCode; procJob.seasonCode = seasonCode;
procJob.status = job_status.pending; procJob.status = job_status.pending;
procJob.mode = job_mode.processing_only; procJob.mode = job_mode.processing_only;
procJob.statistics = new int[] { sceneids.length, 0, 0, 0, 0, 0, 0, 0 }; procJob.statistics = new int[] { sceneids.length, 0, 0, 0, 0, 0, 0, 0, 0 };
// set refjob id, if we have a valid one // set refjob id, if we have a valid one
if (isValidID(id)) { if (isValidID(id)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment