|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.services.procs.ProcessManager.Work
public static class ProcessManager.Work
Task performed by the ProcessManager
on each invocation of
ExecutionThread.run()
.
Field Summary | |
---|---|
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 Summary | |
---|---|
ProcessManager.Work(SecuritySystem sec,
Processor... procs)
|
Method Summary | |
---|---|
String |
description()
Returns a description of what this work will be doing for logging purposes. |
List<ome.model.jobs.Job> |
doWork(org.hibernate.Session session,
ServiceFactory sf)
Work method. |
protected ome.model.jobs.Job |
job(ServiceFactory sf,
long id)
|
void |
startProcess(ServiceFactory sf,
long jobId)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final List<Processor> processors
protected final SecuritySystem sec
SecuritySystem
in order to perform a secure save on the
Job
instance.
protected Map<Long,Process> procMap
processes
.
Constructor Detail |
---|
public ProcessManager.Work(SecuritySystem sec, Processor... procs)
Method Detail |
---|
public String description()
Executor.Work
description
in interface Executor.Work
public List<ome.model.jobs.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 ome.model.jobs.Job job(ServiceFactory sf, long id)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.