public class ProcessContainer
extends java.lang.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. |
java.util.List<ProcessContainer.Process> |
listProcesses(java.util.Collection<java.lang.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 java.util.List<ProcessContainer.Process> listProcesses(java.util.Collection<java.lang.Long> groups)
public int pingAll()
public int shutdownAll()
Version: 5.4.4-ice35-b82
Copyright © 2018 The University of Dundee & Open Microscopy Environment. All Rights Reserved.