|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jlab.coda.afecs.system.ABase
org.jlab.coda.afecs.container.AContainer
public class AContainer
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), Aug 13, 2009
APlatform
as well as from control designer
AControlDesigner
to starts/stops Afecs agents.
Nested Class Summary | |
---|---|
class |
AContainer.LifeLineT
********************************************************************** Thread checking if we are connected to the platform ********************************************************************** |
Field Summary | |
---|---|
static java.util.concurrent.atomic.AtomicInteger |
cpuActiveProcesses
|
static java.util.concurrent.atomic.AtomicInteger |
cpuBuffers
|
static java.util.concurrent.atomic.AtomicInteger |
cpuFreeMemory
|
static java.util.concurrent.atomic.AtomicLong |
cpuLoad
|
static java.util.concurrent.atomic.AtomicInteger |
cpuTotalMemory
|
static java.util.concurrent.atomic.AtomicInteger |
cpuTotalProcesses
|
Fields inherited from class org.jlab.coda.afecs.system.ABase |
---|
myCRCClientConnection, myName, myPlatformConnection, myRcDomainConnection |
Constructor Summary | |
---|---|
AContainer(boolean isMulticast)
Constructor |
Method Summary | |
---|---|
java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> |
getAsPayload()
Returns the data of this agent as an ArrayList of payloadItems |
static void |
main(java.lang.String[] args)
|
boolean |
register()
egistration of the container control agent with the platform |
boolean |
startAgent(AComponent a)
Starts agent on this container |
boolean |
startSupervisor(AControl c)
Starts control supervisor agent. |
boolean |
stopAgent(java.lang.String n)
Stops agent on the container |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.util.concurrent.atomic.AtomicLong cpuLoad
public static java.util.concurrent.atomic.AtomicInteger cpuTotalMemory
public static java.util.concurrent.atomic.AtomicInteger cpuFreeMemory
public static java.util.concurrent.atomic.AtomicInteger cpuBuffers
public static java.util.concurrent.atomic.AtomicInteger cpuActiveProcesses
public static java.util.concurrent.atomic.AtomicInteger cpuTotalProcesses
Constructor Detail |
---|
public AContainer(boolean isMulticast)
isMulticast
- indicates if we need to connect to the platform through multicastMethod Detail |
---|
public static void main(java.lang.String[] args)
public boolean register()
public java.util.ArrayList<org.jlab.coda.cMsg.cMsgPayloadItem> getAsPayload()
public boolean startAgent(AComponent a)
a
- agent described by the AComponent
object
public boolean startSupervisor(AControl c)
c
- supervisor agent, described bu AControl
object
public boolean stopAgent(java.lang.String n)
n
- Agent name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |