IN PROGRESS - BATCH-505: Job-level ExecutionContext

added volatile declarations for executionContext and stepExecutions properties
This commit is contained in:
robokaso
2008-06-02 12:06:17 +00:00
parent 01c70eaff7
commit e64c3cdf1f

View File

@@ -34,7 +34,7 @@ public class JobExecution extends Entity {
private final JobInstance jobInstance;
private transient Collection stepExecutions = new HashSet();
private volatile transient Collection stepExecutions = new HashSet();
private volatile BatchStatus status = BatchStatus.STARTING;
@@ -46,7 +46,7 @@ public class JobExecution extends Entity {
private volatile ExitStatus exitStatus = ExitStatus.UNKNOWN;
private ExecutionContext executionContext = new ExecutionContext();
private volatile ExecutionContext executionContext = new ExecutionContext();
/**
* Because a JobExecution isn't valid unless the job is set, this