public class ProcessManager extends ExecutionThread implements IProcessManager
Modifier and Type | Class and Description |
---|---|
static class |
ProcessManager.Work
Task performed by the
ProcessManager on each invocation of
ExecutionThread.run() . |
executor, manager, principal, work
Constructor and Description |
---|
ProcessManager(SessionManager manager,
SecuritySystem sec,
Executor executor,
Processor... procs)
main constructor which takes a non-null array of
Processor
instances as its only argument. |
Modifier and Type | Method and Description |
---|---|
void |
doRun() |
Process |
runningProcess(long jobId)
|
getPrincipal, run, sessionInit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
public ProcessManager(SessionManager manager, SecuritySystem sec, Executor executor, Processor... procs)
Processor
instances as its only argument. This array is copied, so modifications
will not be noticed.manager
- Reference to the session manager.sec
- Reference to the security managerexecutor
- The executor.procs
- Array of Processors. Not null.public void doRun()
doRun
in class ExecutionThread
public Process runningProcess(long jobId)
IProcessManager
runningProcess
in interface IProcessManager
Version: 5.4.6-ice35-b87
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.