Class ProcessContainer


  • public class ProcessContainer
    extends java.lang.Object
    Helper class for holding the individual ManagedImportProcessI instances created by ManagedRepositoryI. Responsible for providing lookups as well as keep-alive and reap methods which will be called by background threads.
    Since:
    5.0.0
    • Constructor Detail

      • ProcessContainer

        public ProcessContainer()
    • Method Detail

      • removeProcess

        public void removeProcess​(ProcessContainer.Process process)
        Removes the process.
        Parameters:
        process - The process to remove.
      • listProcesses

        public java.util.List<ProcessContainer.Process> listProcesses​(java.util.Collection<java.lang.Long> groups)
      • pingAll

        public int pingAll()
        Called periodically by quartz to keep the sessions alive.
      • shutdownAll

        public int shutdownAll()
        Called on shutdown of the server.