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
ManagedImportProcessI service 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.8-ice35-b57
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.