public class ProcessContainer extends Object
ManagedImportProcessI
 instances created by ManagedRepositoryI. Responsible for providing
 lookups as well as keep-alive and reap methods which will be called by
 background threads.| Modifier and Type | Class and Description | 
|---|---|
| static interface  | ProcessContainer.Process | 
| Constructor and Description | 
|---|
| ProcessContainer() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addProcess(ProcessContainer.Process process)Called once the  ManagedImportProcessIservice is created. | 
| List<ProcessContainer.Process> | listProcesses(Collection<Long> groups) | 
| int | pingAll()Called periodically by quartz to keep the sessions alive. | 
| void | removeProcess(ProcessContainer.Process process)Removes the process. | 
| int | shutdownAll()Called on shutdown of the server. | 
public void addProcess(ProcessContainer.Process process)
ManagedImportProcessI service is created.process - The process to handle.public void removeProcess(ProcessContainer.Process process)
process - The process to remove.public List<ProcessContainer.Process> listProcesses(Collection<Long> groups)
public int pingAll()
public int shutdownAll()
                
                
Version: 5.2.0-ice35-b12
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.