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) |
int |
shutdownAll()
Called on shutdown of the server.
|
public void addProcess(ProcessContainer.Process process)
ManagedImportProcessI
service is created.prx
- public void removeProcess(ProcessContainer.Process process)
public List<ProcessContainer.Process> listProcesses(Collection<Long> groups)
public int pingAll()
public int shutdownAll()
Version: 5.1.2-ice35-b45
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.