|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jlab.coda.afecs.agent.AAgentInfo
public class AAgentInfo
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
Constructor Summary | |
---|---|
AAgentInfo(java.lang.String s)
Constructor |
Method Summary | |
---|---|
void |
addProcessName(java.lang.String s)
Adds the new porcess name to the list of process names |
void |
addServiceName(java.lang.String s)
Adds a new service name |
void |
addStateName(java.lang.String s)
Adds ther new state name |
java.lang.String |
getAgentHost()
Gets the host name where this agent is running |
AClientInfo |
getClient()
|
int |
getLoad()
Gets the number that shows the number of all requests to this agent per/sec. |
java.lang.String |
getName()
Returns the name of this agent |
java.util.ArrayList<java.lang.String> |
getProcessNames()
Gets the list of all process names that this agent executes |
java.lang.String |
getRunType()
Gets the Coda config name where this agent is configured. |
java.util.ArrayList<java.lang.String> |
getServiceNames()
Gets service names provided by this agent |
java.lang.String |
getSession()
Gets the coda session, in which this agent takes part |
java.lang.String |
getStartTime()
Gets the start time of this agent |
java.util.ArrayList<java.lang.String> |
getStateNames()
Gets the names of all states for this agent |
java.lang.String |
getSupervisor()
Gets the name of the immidiate supervisor for this agent |
void |
removeProcessName(java.lang.String s)
Removes the process name from the list of registered process names |
void |
removeServiceName(java.lang.String s)
Removes the service name from the provided service name list. |
void |
removeStateName(java.lang.String s)
Remove the state name from the state names list |
void |
setAgentHost(java.lang.String agentHost)
Sets the host name where this agent is running or should run. |
void |
setClient(AClientInfo client)
|
void |
setLoad(int load)
Sets the number that shows the number of all requests to this agent per/sec. |
void |
setProcessNames(java.util.ArrayList<java.lang.String> processNames)
Sets the names of all processes that this agent executes |
void |
setRunType(java.lang.String runType)
Sets the Coda config name where this agent is configured. |
void |
setServiceNames(java.util.ArrayList<java.lang.String> serviceNames)
sets service names provided by this agent |
void |
setSession(java.lang.String session)
Sets coda session. |
void |
setStartTime(java.lang.String startTime)
Sets the start time of this agent |
void |
setStateNames(java.util.ArrayList<java.lang.String> stateNames)
Sets the state names for this agent |
void |
setSupervisor(java.lang.String supervisor)
Sets the name of the immidiate supervisor for this agent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AAgentInfo(java.lang.String s)
s
- The name of this agentMethod Detail |
---|
public java.lang.String getName()
public AClientInfo getClient()
public void setClient(AClientInfo client)
public java.lang.String getSession()
public void setSession(java.lang.String session)
session
- namepublic java.lang.String getRunType()
public void setRunType(java.lang.String runType)
runType
- or config name (those names are interchangable).public java.lang.String getSupervisor()
public void setSupervisor(java.lang.String supervisor)
supervisor
- namepublic java.lang.String getAgentHost()
public void setAgentHost(java.lang.String agentHost)
agentHost
- namepublic java.lang.String getStartTime()
public void setStartTime(java.lang.String startTime)
startTime
- valuepublic int getLoad()
public void setLoad(int load)
load
- valepublic java.util.ArrayList<java.lang.String> getServiceNames()
public void setServiceNames(java.util.ArrayList<java.lang.String> serviceNames)
serviceNames
- list of service namespublic void addServiceName(java.lang.String s)
s
- name of the servicepublic void removeServiceName(java.lang.String s)
s
- the name of the servicepublic java.util.ArrayList<java.lang.String> getStateNames()
public void setStateNames(java.util.ArrayList<java.lang.String> stateNames)
stateNames
- list of state namespublic void addStateName(java.lang.String s)
s
- name of the new statepublic void removeStateName(java.lang.String s)
s
- the name of the statepublic java.util.ArrayList<java.lang.String> getProcessNames()
public void setProcessNames(java.util.ArrayList<java.lang.String> processNames)
processNames
- list of namespublic void addProcessName(java.lang.String s)
s
- processs namepublic void removeProcessName(java.lang.String s)
s
- process name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |