public static class ProcessManager.Work extends Object implements Executor.Work
ProcessManager on each invocation of
 ExecutionThread.run().| Modifier and Type | Field and Description | 
|---|---|
| protected List<Processor> | processorsprocessors available for processing. | 
| protected Map<Long,Process> | procMapMap of all active  processes. | 
| protected SecuritySystem | secSecuritySystemin order to perform a secure save on theJobinstance. | 
| Constructor and Description | 
|---|
| Work(SecuritySystem sec,
    Processor... procs) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | description()Returns a description of what this work will be doing for logging
 purposes. | 
| List<Job> | doWork(org.hibernate.Session session,
      ServiceFactory sf)Work method. | 
| protected Job | job(ServiceFactory sf,
   long id) | 
| void | startProcess(ServiceFactory sf,
            long jobId) | 
protected final List<Processor> processors
protected final SecuritySystem sec
SecuritySystem in order to perform a secure save on the
 Job instance.public Work(SecuritySystem sec, Processor... procs)
public String description()
Executor.Workdescription in interface Executor.Workpublic List<Job> doWork(org.hibernate.Session session, ServiceFactory sf)
Executor.WorkObject return method.doWork in interface Executor.Worksession - non null.sf - non null.public void startProcess(ServiceFactory sf, long jobId)
protected Job job(ServiceFactory sf, long id)
                
                
Version: 5.4.0-ice35-b74
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.