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> |
processors
processors available for processing.
|
protected Map<Long,Process> |
procMap
Map of all active
processes . |
protected SecuritySystem |
sec
SecuritySystem in order to perform a secure save on the
Job instance. |
Constructor and Description |
---|
ProcessManager.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 ProcessManager.Work(SecuritySystem sec, Processor... procs)
public String description()
Executor.Work
description
in interface Executor.Work
public List<Job> doWork(org.hibernate.Session session, ServiceFactory sf)
Executor.Work
Object
return method.doWork
in interface Executor.Work
session
- non null.sf
- non null.public void startProcess(ServiceFactory sf, long jobId)
protected Job job(ServiceFactory sf, long id)
Version: 5.1.4-ice35-b55
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.