com.irisel.pm.daemon
Class ProcessManager

java.lang.Object
  extended by com.irisel.oms.daemon.BasicPoller
      extended by com.irisel.pm.daemon.ProcessManager
All Implemented Interfaces:
java.lang.Runnable

public class ProcessManager
extends BasicPoller
implements java.lang.Runnable


Field Summary
 
Fields inherited from class com.irisel.oms.daemon.BasicPoller
pollIntervalMillis
 
Method Summary
 InstanceSet getProcessesByStatus(int status)
           
static ProcessManager getProcessManager()
           
static void main(java.lang.String[] args)
           
 void resumeAllProcesses()
           
 void run()
           
 void startProcess(long procId, long focusId)
           
 
Methods inherited from class com.irisel.oms.daemon.BasicPoller
configure, getPollIntervalMillis, setPollIntervalMillis
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getProcessManager

public static ProcessManager getProcessManager()

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class BasicPoller

getProcessesByStatus

public InstanceSet getProcessesByStatus(int status)
                                 throws PMException
Throws:
PMException

resumeAllProcesses

public void resumeAllProcesses()
                        throws PMException
Throws:
PMException

main

public static void main(java.lang.String[] args)
Parameters:
args -

startProcess

public void startProcess(long procId,
                         long focusId)
                  throws PMException
Throws:
PMException