org.jlab.coda.afecs.supervisor
Class SUtility

java.lang.Object
  extended by org.jlab.coda.afecs.supervisor.SUtility

public class SUtility
extends java.lang.Object

JSA: Thomas Jefferson National Accelerator Facility
This software was developed under a United States Government license,
described in the NOTICE file included as part of this distribution.
Copyright (c), 5/12/11


Constructor Summary
SUtility(SupervisorAgent owner)
           
 
Method Summary
 void blockingWait4Reset(boolean send, int sec)
          Block and wait until components reset
 void blockingWait4State(java.lang.String stateName)
          Block and wait until the state is set for all controlled agents
 void blockingWait4States(java.lang.String stateName1, java.util.ArrayList<java.lang.String> l)
          Block and wait until the state is set for all controlled agents
 void clearLocalRegister()
          Supervisor local register (maps) cleanup Stops active service execution thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SUtility

public SUtility(SupervisorAgent owner)
Method Detail

clearLocalRegister

public void clearLocalRegister()
Supervisor local register (maps) cleanup Stops active service execution thread. Stops agent states watching thread. Clears all internal registration storage.


blockingWait4Reset

public void blockingWait4Reset(boolean send,
                               int sec)
Block and wait until components reset


blockingWait4States

public void blockingWait4States(java.lang.String stateName1,
                                java.util.ArrayList<java.lang.String> l)
Block and wait until the state is set for all controlled agents

Parameters:
stateName1 - to watch

blockingWait4State

public void blockingWait4State(java.lang.String stateName)
Block and wait until the state is set for all controlled agents

Parameters:
stateName - to watch